projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
* Control.cs: Don't do anything in WmShowWindow if the control has been
[mono.git]
/
mcs
/
tests
/
test-504.cs
1
// Compiler options: -warnaserror
2
3
// This ensures that any "unreachable code" warning will error out
4
// rather than generate invalid IL
5
6
class Foo
7
{
8
public static int y = 1;
9
public static int f () { return 0; }
10
public static int Main ()
11
{
12
int x;
13
14
do {
15
x = f ();
16
if (x != 0)
17
continue;
18
return 0;
19
} while (x > y);
20
21
return 1;
22
}
23
}