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-510.cs
blob
27558f64686282d7ef5dd8c882ca1820a7a28885
1
class
Foo
{
2
static void
test39
(
ref int
a
)
3
{
4
int
x_0
=
0
;
5
int
ll_1
=
0
;
6
7
switch
(
0
) {
8
default
:
9
switch
(
x_0
) {
10
default
:
11
if
(
ll_1
==
0
)
12
break
;
13
else
14
goto
k_1
;
15
}
16
a
=
5
;
17
break
;
18
k_1
:
19
break
;
20
}
21
}
22
23
public static void
Main
()
24
{
25
int
a
=
0
;
26
test39
(
ref
a
);
27
if
(
a
!=
5
)
28
throw new
System
.
Exception
(
"reachable code got marked as unreachable"
);
29
}
30
}