mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-12-21 09:11:39 +03:00
12 lines
163 B
Plaintext
12 lines
163 B
Plaintext
circuit Foo {
|
|
f: u32,
|
|
|
|
function bar() -> u32 {
|
|
return f
|
|
}
|
|
}
|
|
|
|
function main() -> u32 {
|
|
let foo = Foo { f: 1u32 };
|
|
let err = foo.bar();
|
|
} |