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

test-828.cs « tests « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: cd51d7fa1f3c16e81fbf9af7c3e8375bd4659fa5 (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
25
26
// Compiler options: -warnaserror

public class C
{
	public int v;
}

public struct S2
{
	public C c;
	public int v;
}

public struct S
{
	public S2 s2;
}

public class Test
{
	public static void Main ()
	{
		S s;
		s.s2.v = 9;
	}
}