projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[mcs] More work on primary constructors
[mono.git]
/
mcs
/
tests
/
dtest-032.cs
1
using System;
2
3
class A
4
{
5
public int value;
6
7
public A (int value)
8
{
9
this.value = value;
10
}
11
}
12
13
class B
14
{
15
static void Foo (int i, out A a)
16
{
17
a = new A (i);
18
}
19
20
public static int Main ()
21
{
22
dynamic d = 6;
23
A a;
24
Foo (d, out a);
25
if (a.value != 6)
26
return 1;
27
28
return 0;
29
}
30
}
31