Merge pull request #5675 from mono/glib-debug-symbols
[mono.git] / mcs / errors / cs0162-7.cs
1 // CS0162: Unreachable code detected
2 // Line: 9
3 // Compiler options: -warnaserror -warn:2
4
5 class Foo {
6         static void Main ()
7         {
8                 goto skip;
9         a:
10                 goto a;
11         skip:
12                 return;
13         }
14 }