Merge pull request #4431 from vkargov/vk-leaking-points
[mono.git] / mcs / tests / test-99.cs
old mode 100755 (executable)
new mode 100644 (file)
index 191e0a9..2f2b7ab
@@ -13,7 +13,7 @@ class X {
                B
        }
        
-       static int Main ()
+       public static int Main ()
        {
                int v = 1;
                object foo = (v + A.a);
@@ -33,6 +33,15 @@ class X {
                byte b = 1;
                short s = (short) (Test.A + b);
                
+               const int e = A.b + 1 - A.a;
+
+               //
+               // Make sure that other operators still work
+               if (Test.A != Test.A)
+                       return 3;
+               if (Test.A == Test.B)
+                       return 4;
+               
                return 0;
        }
 }