mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-10-29 09:40:21 +00:00
21 lines
162 B
Perl
21 lines
162 B
Perl
|
|
struct A {
|
|
a : int
|
|
}
|
|
|
|
|
|
print(A:cstring())
|
|
|
|
terra foo()
|
|
return A { 1 }
|
|
end
|
|
|
|
struct B {
|
|
a : int
|
|
}
|
|
|
|
terra foo2()
|
|
return B { 1 }
|
|
end
|
|
|
|
assert(foo().a == foo2().a) |