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
2010-05-13 Rodrigo Kumpera <rkumpera@novell.com>
[mono-project.git]
/
mcs
/
tests
/
test-620.cs
blob
61f6eea2bce2f7ad348c3e59320012dcf4c945aa
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
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
}