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
[mono/tests] Fix out of tree build.
[mono-project.git]
/
mcs
/
tests
/
test-620.cs
blob
96b13184d1410789edc5ce16f26279f82e241fa6
1
//
2
// fixed
3
//
4
class
X
{
5
6
static void
A
(
ref int
a
)
7
{
8
a
++;
9
}
10
11
// Int32&
12
static void
B
(
ref int
a
)
13
{
14
// Int32&&
15
A
(
ref
a
);
16
}
17
18
public static int
Main
()
19
{
20
int
a
=
10
;
21
22
B
(
ref
a
);
23
24
if
(
a
==
11
)
25
return
0
;
26
else
27
return
1
;
28
}
29
}