Update mcs/class/System.Core/System/TimeZoneInfo.cs
[mono.git] / mcs / tests / test-384.cs
1 using System;
2
3 class X
4 {
5         static int Foo = 10;
6
7         static void Test ()
8         {
9                 while (true) {
10                         if (Foo == 1)
11                                 throw new Exception ("Error Test");
12                         else
13                                 break;
14                 }
15
16                 Foo = 20;
17         }
18
19         static int Main ()
20         {
21                 Test ();
22                 if (Foo != 20)
23                         return 1;
24                 return 0;
25         }
26 }