Merge pull request #5714 from alexischr/update_bockbuild
[mono.git] / mcs / tests / test-interpolation-06.cs
1 class X
2 {
3         public static int Main ()
4         {
5                 int foo = 4;
6                 string s = $@"{foo}";
7                 if (s != "4")
8                         return 1;
9
10                 string s2 = $@"c:\{foo}\temp";
11                 if (s2 != "c:\\4\\temp")
12                         return 2;
13
14                 string s3 = $@"""{foo}"" ""foo""";
15                 if (s3 != "\"4\" \"foo\"")
16                         return 3;
17
18                 return 0;
19         }
20 }