mirror of
https://github.com/AleoHQ/leo.git
synced 2024-12-02 12:22:08 +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()
|
|
} |