Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

32 lines
293 B
C#

using System;
class A
{
public int value;
public A (int value)
{
this.value = value;
}
}
class B
{
static void Foo (int i, out A a)
{
a = new A (i);
}
public static int Main ()
{
dynamic d = 6;
A a;
Foo (d, out a);
if (a.value != 6)
return 1;
return 0;
}
}