[Mono-bugs] [Bug 40670][Maj] Changed - mcs generates out of method branch
bugzilla-daemon@rocky.ximian.com
bugzilla-daemon@rocky.ximian.com
Wed, 2 Apr 2003 22:56:34 -0500 (EST)
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 miguel@ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=40670
--- shadow/40670 Wed Apr 2 22:40:56 2003
+++ shadow/40670.tmp.22690 Wed Apr 2 22:56:34 2003
@@ -77,6 +77,23 @@
That code should print "Hello" on the console, and no warnings should
be generated. Currently we generate a warning.
I am CCing Martin.
Miguel.
+
+------- Additional Comments From miguel@ximian.com 2003-04-02 22:56 -------
+Simpler test case:
+
+class X {
+ static void Main ()
+ {
+ while (true){
+ break;
+
+ while (true)
+ return;
+ }
+ System.Console.WriteLine ("Hello");
+ }
+}
+