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