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
[interp] Remove unreachable code (#12411)
[mono-project.git]
/
mono
/
tests
/
pop.cs
blob
decdf64927d4e063bb9e98d5dbf564ce37a40ef6
1
class
pop_test
{
2
3
public static int
t
=
4
;
4
5
static int
f
()
6
{
7
t
=
0
;
8
9
return
1
;
10
}
11
12
static int
Main
()
13
{
14
if
(
t
!=
4
)
15
return
1
;
16
17
// we ignore the return value - the compiler emits a pop
18
f
();
19
20
if
(
t
!=
0
)
21
return
1
;
22
23
return
0
;
24
}
25
}