diff options
Diffstat (limited to 'mcs/tests/test-partial-10.cs')
-rw-r--r-- | mcs/tests/test-partial-10.cs | 56 |
1 files changed, 0 insertions, 56 deletions
diff --git a/mcs/tests/test-partial-10.cs b/mcs/tests/test-partial-10.cs deleted file mode 100644 index 3f7ce96c894..00000000000 --- a/mcs/tests/test-partial-10.cs +++ /dev/null @@ -1,56 +0,0 @@ -// Compiler options: -langversion:default
-
-using System;
-
-namespace Test2
-{
- public interface Base
- { }
-
- public partial class Foo : Base
- {
- public static int f = 10;
- }
-
- public partial class Foo : Base
- {
- public static int f2 = 9;
- }
-}
-
-namespace Test3
-{
- public interface Base
- { }
-
- public partial struct Foo : Base
- {
- public static int f = 10;
- }
-
- public partial struct Foo : Base
- {
- public static int f2 = 9;
- }
-}
-
-class X
-{
- static int Main ()
- {
- if (Test2.Foo.f != 10)
- return 1;
-
- if (Test2.Foo.f2 != 9)
- return 1;
-
- if (Test3.Foo.f != 10)
- return 1;
-
- if (Test3.Foo.f2 != 9)
- return 1;
-
- Console.WriteLine ("OK");
- return 0;
- }
-}
|