2010-05-31 Jb Evain <jbevain@novell.com>
[mcs.git] / tests / test-384.cs
blob59fb697812dd0a47c9467f5832e8d560c5790964
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 static int Main ()
21 Test ();
22 if (Foo != 20)
23 return 1;
24 return 0;