diff options
Diffstat (limited to 'mcs/tests/test-874.cs')
-rw-r--r-- | mcs/tests/test-874.cs | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/mcs/tests/test-874.cs b/mcs/tests/test-874.cs new file mode 100644 index 0000000000..b8f52f0f98 --- /dev/null +++ b/mcs/tests/test-874.cs @@ -0,0 +1,18 @@ +using System; + +class X +{ + public static void Main () + { + int a; + goto X; + A: + Console.WriteLine (a); + goto Y; + X: + a = 1; + goto A; + Y: + return; + } +}
\ No newline at end of file |