linux-packaging-mono/mcs/tests/test-interpolation-06.cs
Xamarin Public Jenkins 6992685b86 Imported Upstream version 4.2.0.179
Former-commit-id: 0a113cb3a6feb7873f632839b1307cc6033cd595
2015-11-10 14:54:39 +00:00

20 lines
279 B
C#

class X
{
public static int Main ()
{
int foo = 4;
string s = $@"{foo}";
if (s != "4")
return 1;
string s2 = $@"c:\{foo}\temp";
if (s2 != "c:\\4\\temp")
return 2;
string s3 = $@"""{foo}"" ""foo""";
if (s3 != "\"4\" \"foo\"")
return 3;
return 0;
}
}