Fix LLVM linker flags for 6.0.
[mono-project.git] / mcs / tests / test-384.cs
blob9a7c0e9c36d51ba5921b93ac966422f3e78b3aff
1 using System;
3 class X
5 static int Foo = 10;
7 static void Test ()
9 while (true) {
10 if (Foo == 1)
11 throw new Exception ("Error Test");
12 else
13 break;
16 Foo = 20;
19 public static int Main ()
21 Test ();
22 if (Foo != 20)
23 return 1;
24 return 0;