Author: martin
Date: 2005-05-02 12:41:50 -0400 (Mon, 02 May 2005)
New Revision: 43892
Added:
trunk/mcs/errors/cs0165-9.cs
Log:
New test.
Added: trunk/mcs/errors/cs0165-9.cs
===================================================================
--- trunk/mcs/errors/cs0165-9.cs 2005-05-02 16:40:35 UTC (rev 43891)
+++ trunk/mcs/errors/cs0165-9.cs 2005-05-02 16:41:50 UTC (rev 43892)
@@ -0,0 +1,15 @@
+using System;
+
+public class Test
+{
+ public int i;
+
+ public void Hoge ()
+ {
+ if (i > 0)
+ goto Fuga;
+ string s = "defined later";
+ Fuga:
+ Console.WriteLine (s);
+ }
+}
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches