Test update
authorMarek Safar <marek.safar@gmail.com>
Tue, 1 Mar 2011 08:57:53 +0000 (08:57 +0000)
committerMarek Safar <marek.safar@gmail.com>
Tue, 1 Mar 2011 08:57:53 +0000 (08:57 +0000)
mcs/tests/test-618.cs
mcs/tests/ver-il-net_4_0.xml

index 7982c6d8f06a0cb7cf77e04354adbccc4520b11a..29891e49dacbc5854268e1b390a0c90e43c22a7e 100644 (file)
@@ -13,7 +13,6 @@ class C
                a = a - 0;
                a = a | 0;
                a = 0 + a;
-               a = 0 - a;
                a = 0 | a;
                
                a = a >> 0x40;
@@ -28,10 +27,17 @@ class C
                b *= 1;
        }
        
-       public static void Main ()
+       public static int Main ()
        {
                ZeroBasedReductions ();
                ZeroBasedReductionsWithConversion ();
+               
+               int a = 9;
+               a = 0 - a;
+               if (a != -9)
+                       return 1;
+               
+               return 0;
        }
 }
 
index 2c72eb36050231a007b7ae8ee5615bb9fe6a68e7..31196440234e9f105b6edf4bcad894b4d2cff7df 100644 (file)
         <size>7</size>
       </method>
       <method name="Void ZeroBasedReductions()">
-        <size>17</size>
-      </method>
-      <method name="Void Main()">
-        <size>11</size>
+        <size>15</size>
       </method>
       <method name="Void ZeroBasedReductionsWithConversion()">
         <size>15</size>
       </method>
+      <method name="Int32 Main()">
+        <size>28</size>
+      </method>
     </type>
   </test>
   <test name="test-619.cs">