mirror of
https://github.com/circify/circ.git
synced 2026-04-21 03:00:54 -04:00
18 lines
204 B
Plaintext
18 lines
204 B
Plaintext
struct Foo<N> {
|
|
u32[N] a;
|
|
u64 b;
|
|
}
|
|
|
|
struct Bar<N> {
|
|
Foo<N> a;
|
|
u64 b;
|
|
}
|
|
|
|
const Bar<4> baz = Bar {
|
|
a: Foo { a: [1, 2, 3, 4], b: 0 },
|
|
b: 0
|
|
};
|
|
|
|
def main() -> Bar<4> {
|
|
return baz;
|
|
} |