Welcome to mirror list, hosted at ThFree Co, Russian Federation.

test-314.cs « tests « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 3d2fab33e6071750b91b160b82d130da2bd0e44f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
class X {
	static string a = "static string";
	string b = a + "string";
	
	X () {}
	X (int x) {}
	
	public static int Main () {
		if (new X ().b != "static stringstring")
			return 1;
		
		if (new X (1).b != "static stringstring")
			return 2;
		return 0;
	}
}