mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-12-27 04:01:47 +03:00
13 lines
153 B
Plaintext
13 lines
153 B
Plaintext
circuit Foo {
|
|
a: u32;
|
|
}
|
|
|
|
circuit Bar {
|
|
function bar() {
|
|
const f = Foo { a: 0u32 };
|
|
}
|
|
}
|
|
|
|
function main() {
|
|
const b = Bar::bar();
|
|
} |