mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-12-02 23:07:27 +03:00
10 lines
151 B
Plaintext
10 lines
151 B
Plaintext
|
circuit Foo {
|
||
|
function bar() -> u32 {
|
||
|
return self.f
|
||
|
}
|
||
|
}
|
||
|
|
||
|
function main() -> u32 {
|
||
|
let circuit = Foo { };
|
||
|
return circuit.bar()
|
||
|
}
|