Merge pull request #1931 from kasthack/system.web-fixes
[mono.git] / mcs / tests / test-196.cs
index 23bf372a5886538a4aabec5655df98098a15e81c..98ea4e5db4e6f297c009e76d91a292f53005fe3b 100644 (file)
@@ -16,11 +16,17 @@ class X {
                long ll = (b & (l << r));
        }
        
-       static int Main ()
+       public static int Main ()
        {
                const byte b = 255;
                const int i = b << int.MaxValue;
                const int i2 = b << int.MaxValue;
+               
+               long token = uint.MaxValue;
+               const int column_mask = (int)((1 << 32) - 1);
+               int r2 = (int) (token & column_mask);
+               if (r2 != 0)
+                       return 1;
 
                return 0;
        }