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
/
dtest-058.cs
blob
23dedf09af204e14e650deee37a9a9045b9e4a78
1
using
System
;
2
3
class
Test
4
{
5
int
a
;
6
int
b
;
7
8
Test
(
int
i
)
9
{
10
a
=
10
;
11
}
12
13
static
Test
Foo
(
dynamic
d
)
14
{
15
return new
Test
(
d
) {
16
b
=
20
17
};
18
}
19
20
public static int
Main
()
21
{
22
var
t
=
Foo
(
44
);
23
if
(
t
.
a
!=
10
)
24
return
1
;
25
if
(
t
.
b
!=
20
)
26
return
2
;
27
28
return
0
;
29
}
30
}