[Mono-bugs] [Bug 77755][Nor] New - label flagged as unreachable code
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Fri Mar 10 10:49:58 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 ats at cs.rit.edu.
http://bugzilla.ximian.com/show_bug.cgi?id=77755
--- shadow/77755 2006-03-10 10:49:58.000000000 -0500
+++ shadow/77755.tmp.28690 2006-03-10 10:49:58.000000000 -0500
@@ -0,0 +1,32 @@
+Bug#: 77755
+Product: Mono: Compilers
+Version: unspecified
+OS:
+OS Details: Tiger
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: C#
+AssignedTo: rharinath at novell.com
+ReportedBy: ats at cs.rit.edu
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: label flagged as unreachable code
+
+compile the enclosed (concocted) class:
+x.cs(5,5): warning CS0162: Unreachable code detected
+
+class X {
+ static void main () {
+ int i = 0;
+ goto a;
+ b:
+ ++ i;
+ return;
+ a:
+ goto b;
+ }
+}
More information about the mono-bugs
mailing list