mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-10-29 09:40:21 +00:00
17 lines
189 B
Perl
17 lines
189 B
Perl
|
|
|
|
local struct A { b : &B }
|
|
and struct B { a : &A }
|
|
|
|
struct C { a : &A, b : &B, c : &C }
|
|
|
|
local struct D {}
|
|
|
|
terra foo()
|
|
var a : A, b : B, c : C
|
|
a.b = &b
|
|
b.a = &a
|
|
c.c = &c
|
|
end
|
|
|
|
foo() |