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] Fall back to old implementation when calling on proxy
[mono-project.git]
/
mcs
/
tests
/
test-798.cs
blob
79510db17c7bec80494f02c1fff7f4d025761cc3
1
using
System
;
2
3
class
A
4
{
5
public void
Foo
(
out int
a
)
6
{
7
a
=
100
;
8
}
9
}
10
11
class
B
:
A
12
{
13
public void
Foo
(
ref int
a
)
14
{
15
throw new
ApplicationException
(
"should not be called"
);
16
}
17
}
18
19
class
C
20
{
21
public static int
Main
()
22
{
23
int
x
;
24
new
B
().
Foo
(
out
x
);
25
if
(
x
!=
100
)
26
return
1
;
27
28
return
0
;
29
}
30
}