summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0171-5.cs
blob: 71ce7020cc16295a2e53a6bdd6c02c16685bbc99 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// CS0171: Field `Test.v2' must be fully assigned before control leaves the constructor
// Line: 28

public struct V
{
	public int x;
}

struct Test
{
	public V v1;
	public V v2;

	public Test (int mm)
	{
		v1 = new V ();
	}

	public static void Main ()
	{
	}
}