mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-11-28 01:01:53 +03:00
13 lines
156 B
Plaintext
13 lines
156 B
Plaintext
|
circuit Foo {
|
||
|
a: u32,
|
||
|
}
|
||
|
|
||
|
circuit Bar {
|
||
|
static function bar() {
|
||
|
let f = Foo { a: 0u32 };
|
||
|
}
|
||
|
}
|
||
|
|
||
|
function main() {
|
||
|
let b = Bar::bar();
|
||
|
}
|