X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mcs%2Ftests%2Ftest-partial-10.cs;h=ba8a5c32c46553a31475e0f17419218da362efe6;hb=edbc5c2334e10836479d1cc528c68d4ad5b47440;hp=3f7ce96c894df0244b866e5c93f3a2711c3df623;hpb=9869ae24b88761ab261c4311e24f7383b4af3f02;p=mono.git diff --git a/mcs/tests/test-partial-10.cs b/mcs/tests/test-partial-10.cs index 3f7ce96c894..ba8a5c32c46 100644 --- a/mcs/tests/test-partial-10.cs +++ b/mcs/tests/test-partial-10.cs @@ -1,56 +1,56 @@ -// 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; - } -} +// 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 +{ + public 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; + } +}