1 // Compiler options: -langversion:default
10 public partial class Foo
: Base
12 public static int f
= 10;
15 public partial class Foo
: Base
17 public static int f2
= 9;
26 public partial struct Foo
: Base
28 public static int f
= 10;
31 public partial struct Foo
: Base
33 public static int f2
= 9;
39 public static int Main ()
41 if (Test2
.Foo
.f
!= 10)
44 if (Test2
.Foo
.f2
!= 9)
47 if (Test3
.Foo
.f
!= 10)
50 if (Test3
.Foo
.f2
!= 9)
53 Console
.WriteLine ("OK");