blob: 7519ac6760cbca2730a301002bcfdd3cb87150e1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
// cs0162-6.cs: Unreachable code detected
// Line: 9
// Compiler options: -warnaserror -warn:2
class Foo {
static void Main ()
{
goto skip;
a:
throw new System.Exception ();
goto a;
skip:
return;
}
}
|