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
Merge pull request #4202 from marek-safar/compression
[mono-project.git]
/
mcs
/
tests
/
test-854.cs
blob
32954ba6adad14996a1077dba858796c17156efa
1
using
System
;
2
3
public class
Test
{
4
5
public static int
Main
()
6
{
7
int
a
=
2
;
8
int
res
=
0
;
9
switch
(
a
) {
10
case
1
:
11
res
+=
1
;
12
label
:
13
res
+=
3
;
14
break
;
15
case
2
:
16
res
+=
2
;
17
goto
label
;
18
}
19
20
if
(
res
!=
5
)
21
return
1
;
22
23
return
0
;
24
}
25
}