Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

16 lines
260 B
C#

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;
}
}