[Mono-bugs] [Bug 77869][Nor] Changed - Unreachable code multi bug

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue Mar 21 18:57:15 EST 2006


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by martin at ximian.com.

http://bugzilla.ximian.com/show_bug.cgi?id=77869

--- shadow/77869	2006-03-21 18:55:00.000000000 -0500
+++ shadow/77869.tmp.23124	2006-03-21 18:57:15.000000000 -0500
@@ -143,6 +143,38 @@
 
 ------- Additional Comments From martin at ximian.com  2006-03-21 18:53 -------
 *** Bug 75317 has been marked as a duplicate of this bug. ***
 
 ------- Additional Comments From martin at ximian.com  2006-03-21 18:54 -------
 *** Bug 75878 has been marked as a duplicate of this bug. ***
+
+------- Additional Comments From martin at ximian.com  2006-03-21 18:57 -------
+Another test case from me:
+
+====
+class X
+{
+        static void Main ()
+        {
+                int foo;
+
+                int i = 0;
+                if (i == 1)
+                        goto e;
+
+                goto f;
+
+        b:
+                i += foo;
+
+        c:
+                goto b;
+
+        e:
+                foo = 5;
+
+        f:
+                goto c;
+        }
+}
+
+=====


More information about the mono-bugs mailing list