Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Baulig <martin@novell.com>2005-05-02 20:41:50 +0400
committerMartin Baulig <martin@novell.com>2005-05-02 20:41:50 +0400
commit191ddaa84943644eb21c7cc403aeffc06d6b1de4 (patch)
treedd340c87ed8780afdadea2e69c4629a7d754aeb9 /mcs/errors/cs0165-9.cs
parent898e897e540656caaae5c678182d8f377c26b231 (diff)
New test.
svn path=/trunk/mcs/; revision=43892
Diffstat (limited to 'mcs/errors/cs0165-9.cs')
-rw-r--r--mcs/errors/cs0165-9.cs15
1 files changed, 15 insertions, 0 deletions
diff --git a/mcs/errors/cs0165-9.cs b/mcs/errors/cs0165-9.cs
new file mode 100644
index 00000000000..d4e9b275906
--- /dev/null
+++ b/mcs/errors/cs0165-9.cs
@@ -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);
+ }
+}