repo.or.cz
/
mono-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Take stars out of types where they make more sense.
[mono-project.git]
/
mcs
/
tests
/
test-185.cs
blob
b9dc49336f9f63015cbe6e92124684912e3f9adc
1
using
System
;
2
3
class
X
4
{
5
public static int
Test
(
int
x
)
6
{
7
for
(;;) {
8
if
(
x
!=
1
)
9
x
--;
10
else
11
break
;
12
return
5
;
13
}
14
return
0
;
15
}
16
17
public static int
Main
()
18
{
19
if
(
Test
(
1
) !=
0
)
20
return
1
;
21
22
if
(
Test
(
2
) !=
5
)
23
return
2
;
24
25
return
0
;
26
}
27
}