repo.or.cz
/
mcs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2009-07-17 Zoltan Varga <vargaz@gmail.com>
[mcs.git]
/
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
}