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
In class/Microsoft.Build.Tasks:
[mcs.git]
/
tests
/
test-622.cs
blob
15193dde4768837bc000521f57ef350efff26e74
1
struct
A
2
{
3
public
A
(
int
a
)
4
{
5
}
6
}
7
8
class
B
9
{
10
public
B
(
int
a
)
11
{
12
}
13
}
14
15
class
X
{
16
static void
Foo
(
out
A
value
)
17
{
18
value
=
new
A
(
1
);
19
}
20
21
static void
Foo
(
out object value
)
22
{
23
value
=
new
B
(
1
);
24
}
25
26
static int
Main
()
27
{
28
A o
;
29
Foo
(
out
o
);
30
31
object
b
;
32
Foo
(
out
b
);
33
34
return
0
;
35
}
36
}