remove NotWorking
[mcs.git] / tests / test-516.cs
blobdde3fa3ece05e5e9309e58e3022472507da142e5
1 // Compiler options: -warnaserror -warn:2
3 // Same as test-515, but we're checking that there's no "unreachable code" warning either
5 class X {
6 static void Main ()
8 int i = 0;
9 goto a;
11 if (++ i > 1)
12 throw new System.Exception ("infloop!!!");
13 return;
15 goto b;