Update to recent changes -- mostly testcases failing due to missing ArrayList
[mcs.git] / tests / test-504.cs
blob87c28794793a7e000578a03ff644ed199763ab4d
1 // Compiler options: -warnaserror
3 // This ensures that any "unreachable code" warning will error out
4 // rather than generate invalid IL
6 class Foo
8 public static int y = 1;
9 public static int f () { return 0; }
10 public static int Main ()
12 int x;
14 do {
15 x = f ();
16 if (x != 0)
17 continue;
18 return 0;
19 } while (x > y);
21 return 1;