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

cs0523.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: cbf63caff1fe2812afd50e39231fe08793cd391c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// CS0523: Struct member `B.a' of type `A' causes a cycle in the struct layout
// Line: 9

struct A {
	B b;
}

struct B {
	A a;
}

class Y { static void Main () {} }