Merge pull request #1861 from saper/home-override
[mono-project.git] / mcs / tests / dtest-032.cs
blob1685ee2285948955a375b325f3ea040252d3a1d8
1 using System;
3 class A
5 public int value;
7 public A (int value)
9 this.value = value;
13 class B
15 static void Foo (int i, out A a)
17 a = new A (i);
20 public static int Main ()
22 dynamic d = 6;
23 A a;
24 Foo (d, out a);
25 if (a.value != 6)
26 return 1;
28 return 0;