mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-11-30 23:33:27 +03:00
13 lines
175 B
Plaintext
13 lines
175 B
Plaintext
circuit Foo {
|
|
foo: u32,
|
|
|
|
static function bar() -> u32 {
|
|
return 0
|
|
}
|
|
}
|
|
|
|
function main() -> u32 {
|
|
let f = Foo { foo: 1 };
|
|
return f.foo + Foo::bar()
|
|
}
|