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 #1861 from saper/home-override
[mono-project.git]
/
mcs
/
tests
/
test-527.cs
blob
fcc8cd918ec5bede3788499a5365cdf0408e644d
1
using
System
;
2
3
class
Repro
4
{
5
private int
[]
stack
=
new int
[
1
];
6
private int
cc
;
7
public int
fc
;
8
private int
sp
;
9
10
public static int
Main
()
11
{
12
Repro r
=
new
Repro
();
13
r
.
foo
();
14
Console
.
WriteLine
(
r
.
stack
[
0
]);
15
return
r
.
stack
[
0
] ==
42
?
0
:
1
;
16
}
17
18
public void
foo
()
19
{
20
fc
=
cc
=
bar
();
21
fc
=
stack
[
sp
++] =
cc
;
22
}
23
24
private int
bar
()
25
{
26
return
42
;
27
}
28
}
29