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
[Wasm] Fix memory override in mono_wasm_add_assembly
[mono-project.git]
/
mcs
/
tests
/
test-152.cs
blob
357c7699bc1015350a05be1bcf9ace1f0b848c3e
1
using
System
;
2
3
public class
X
4
{
5
public static int
Main
()
6
{
7
int
v
=
10
;
8
int
a
;
9
10
switch
(
v
) {
11
case
0
:
12
int
i
=
v
+
1
;
13
a
=
i
;
14
break
;
15
default
:
16
i
=
5
;
17
a
=
i
;
18
break
;
19
}
20
if
(
a
!=
5
)
21
return
1
;
22
23
24
v
=
20
;
25
int
r
=
0
;
26
27
switch
(
v
){
28
case
20
:
29
r
++;
30
int
j
=
10
;
31
r
+=
j
;
32
break
;
33
}
34
if
(
r
!=
11
)
35
return
5
;
36
37
return
0
;
38
}
39
}