[mcs] Inflate referenced current types for imported type definitions. Fixes #56462
[mono.git] / mcs / tests / test-99.cs
old mode 100755 (executable)
new mode 100644 (file)
index 79c5d7d..2f2b7ab
@@ -13,7 +13,7 @@ class X {
                B
        }
        
-       static int Main ()
+       public static int Main ()
        {
                int v = 1;
                object foo = (v + A.a);
@@ -32,6 +32,8 @@ class X {
                // Now try the implicit conversions for underlying types in enum operators
                byte b = 1;
                short s = (short) (Test.A + b);
+               
+               const int e = A.b + 1 - A.a;
 
                //
                // Make sure that other operators still work