repo.or.cz
/
mcs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2009-04-24 Miguel de Icaza <miguel@novell.com>
[mcs.git]
/
tests
/
test-226.cs
blob
149d495c221d239579c099c07c9750405cbe1699
1
using
System
;
2
3
class
Test226
4
{
5
static bool
ok
;
6
7
public static void
Test
()
8
{
9
int
n
=
0
;
10
while
(
true
) {
11
if
(++
n
==
5
)
12
break
;
13
switch
(
0
) {
14
case
0
:
break
;
15
}
16
}
17
ok
=
true
;
18
}
19
20
public static int
Main
()
21
{
22
Test
();
23
return
ok
?
0
:
1
;
24
}
25
}