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

25 lines
251 B
C#

// CS0269: Use of unassigned out parameter `a'
// Line: 23
struct A
{
public int a;
public A (int foo)
{
a = foo;
}
}
class X
{
static void test_output (A a)
{
}
static void test5 (out A a)
{
test_output (a);
a = new A (5);
}
}