cyclic_structs_four_fail.adl
1 2 program test.alpha { 3 struct Foo { 4 foo: [Foo; 1], 5 } 6 7 struct Bar { 8 baz: [Baz, 2], 9 } 10 11 struct Baz { 12 bar: [Bar, 3], 13 } 14 15 struct One { 16 two: [Two, 2], 17 } 18 19 struct Two { 20 three: [Three, 3], 21 four: [Four, 4], 22 } 23 24 struct Three { 25 one: [One, 1], 26 } 27 28 struct Four { 29 one: [One, 1], 30 } 31 }