X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mcs%2Ftests%2Ftest-99.cs;h=2f2b7ab2c9ecf6efbb09b6de7a858a561f65258f;hb=3f527c012dd06bb0b87de8b7eaaf06b66596cb45;hp=79c5d7d7cbf52781dba3c35d9b6ec3cd90e20707;hpb=d27aaf458491a8bd53abdf8acd6914dc1ba972b3;p=mono.git diff --git a/mcs/tests/test-99.cs b/mcs/tests/test-99.cs old mode 100755 new mode 100644 index 79c5d7d7cbf..2f2b7ab2c9e --- a/mcs/tests/test-99.cs +++ b/mcs/tests/test-99.cs @@ -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