Use different return values for different error conditions.
authorMartin Baulig <martin@novell.com>
Fri, 23 Aug 2002 11:43:43 +0000 (11:43 -0000)
committerMartin Baulig <martin@novell.com>
Fri, 23 Aug 2002 11:43:43 +0000 (11:43 -0000)
svn path=/trunk/mcs/; revision=6936

mcs/tests/test-149.cs

index 824ed56ef4d3a99fe253b2d0e179a7c412985e2b..006b8fed358cedf83970cca94330484903b3bf43 100644 (file)
@@ -42,10 +42,10 @@ public class Y : X
                        return 2;
 
                if (TestEvent (2) != 4)
-                       return 2;
+                       return 3;
 
                if (a != 2)
-                       return 3;
+                       return 4;
 
                return 0;
        }