mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-12-29 21:22:55 +03:00
10 lines
140 B
Plaintext
10 lines
140 B
Plaintext
|
circuit Foo {
|
||
|
function bar() -> u32 {
|
||
|
return self.f
|
||
|
}
|
||
|
}
|
||
|
|
||
|
function main() {
|
||
|
let foo = Foo { };
|
||
|
let err = foo.bar();
|
||
|
}
|