mirror of
https://github.com/AleoHQ/leo.git
synced 2024-12-20 16:11:35 +03:00
12 lines
168 B
Plaintext
12 lines
168 B
Plaintext
circuit Foo {
|
|
f: u32;
|
|
|
|
function bar() -> u32 {
|
|
return f;
|
|
}
|
|
}
|
|
|
|
function main() -> u32 {
|
|
const foo = Foo { f: 1u32 };
|
|
const err = foo.bar();
|
|
} |