Introduce a test-wrench target so we can disable tests only on wrench.
[mono.git] / mono / tests / exception6.cs
old mode 100755 (executable)
new mode 100644 (file)
index 324f9b5..b2e09b9
@@ -193,17 +193,25 @@ public class Ex {
                        if (ocount != 1)
                                return 19;
 
-                       /*
                        ocount = 0;
                        try {
-                               uint a = 0xffffffff;
-                               uint t = a*2;
+                               ulong a = 0xffffffffff;
+                               ulong t = a*0x0ffffff;
                        } catch {
                                ocount++;
                        }
-                       if (ocount != 1)
+                       if (ocount != 0)
                                return 20;
-                       */
+
+                       ocount = 0;
+                       try {
+                               ulong a = 0xffffffffff;
+                               ulong t = a*0x0fffffff;
+                       } catch {
+                               ocount++;
+                       }
+                       if (ocount != 1)
+                               return 21;
                }
                
                return 0;