Warnings cleanup
[mcs.git] / errors / cs0162-7.cs
blobdc467973b66faeee4f39032b4a1ee148d6c749e0
1 // cs0162-6.cs: Unreachable code detected
2 // Line: 9
3 // Compiler options: -warnaserror -warn:2
5 // this requires a multi-pass algorithm for unreachable code detection
6 // punting for now
8 class Foo {
9 static void Main ()
11 goto skip;
13 goto a;
14 skip:
15 return;