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
- When calculating char positions only add in the line break
[mono-project.git]
/
mcs
/
tests
/
test-108.cs
blob
2edc56d94574748dc605a3868aa5cd8b27a49cf7
1
class
X
{
2
3
static int
Main
()
4
{
5
int
i
=
0
;
6
7
if
(
false
){
8
i
=
1
;
9
return
1
;
10
}
11
12
if
(
true
)
13
i
=
2
;
14
else
15
i
=
3
;
16
17
if
(
i
!=
2
)
18
return
5
;
19
20
while
(
true
){
21
i
++;
22
if
(
i
==
10
)
23
break
;
24
}
25
26
while
(
false
){
27
i
--;
28
return
3
;
29
}
30
31
if
(
i
!=
10
)
32
return
2
;
33
34
do
{
35
if
(
i
++ ==
20
)
36
break
;
37
}
while
(
true
);
38
39
if
(
i
!=
21
)
40
return
4
;
41
42
return
0
;
43
}
44
}