X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=mcs%2Ftests%2Ftest-99.cs;h=caf2f6742131671867a70c9d63d27cc0f16503ff;hb=e5fb257d8bf0b3dae7e404a5839b550bee78d685;hp=79c5d7d7cbf52781dba3c35d9b6ec3cd90e20707;hpb=64f85a65b023522d3f34e9932e6a843e0ad8fc3b;p=mono.git diff --git a/mcs/tests/test-99.cs b/mcs/tests/test-99.cs index 79c5d7d7cbf..caf2f674213 100644 --- a/mcs/tests/test-99.cs +++ b/mcs/tests/test-99.cs @@ -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