Merge pull request #495 from nicolas-raoul/fix-for-issue2907-with-no-formatting-changes
[mono.git] / mcs / tests / test-314.cs
1 class X {
2         static string a = "static string";
3         string b = a + "string";
4         
5         X () {}
6         X (int x) {}
7         
8         public static int Main () {
9                 if (new X ().b != "static stringstring")
10                         return 1;
11                 
12                 if (new X (1).b != "static stringstring")
13                         return 2;
14                 return 0;
15         }
16 }