Fix LLVM linker flags for 6.0.
[mono-project.git] / mcs / tests / test-516.cs
blob1e6396ce9787f425e00cf22a3682357828b7a48f
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 public 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;