add test to confirm behavior of Control.SetVisibleCore, and remove some redundant...
[mcs.git] / tests / test-314.cs
blob83ecc8112a261cb82969dab2b193caa0932d227c
1 class X {
2 static string a = "static string";
3 string b = a + "string";
5 X () {}
6 X (int x) {}
8 static int Main () {
9 if (new X ().b != "static stringstring")
10 return 1;
12 if (new X (1).b != "static stringstring")
13 return 2;
14 return 0;