2021-01-25 18:17:42 +03:00
|
|
|
circuit Foo {
|
|
|
|
a: u32,
|
|
|
|
}
|
|
|
|
|
|
|
|
circuit Bar {
|
|
|
|
function bar() {
|
2021-03-18 22:19:07 +03:00
|
|
|
const f = Foo { a: 0u32 };
|
2021-01-25 18:17:42 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
function main() {
|
2021-03-18 22:19:07 +03:00
|
|
|
const b = Bar::bar();
|
2021-01-25 18:17:42 +03:00
|
|
|
}
|