Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cs0269.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: a0a713baba29e13426afa413c8ab41332c7ebf1f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// cs0269.cs: 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);
	}
}