summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0523-7.cs
blob: 06b2516b24a53dec05aaeef4317cb64823a230d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// CS0523: Struct member `S.value' of type `G<string>' causes a cycle in the struct layout
// Line: 11

struct G<T>
{
	public static S s;
}

struct S
{
	private G<string> value;
}