1
1
mirror of https://github.com/ProvableHQ/leo.git synced 2024-12-23 10:12:21 +03:00
leo/compiler/tests/circuits/self_member_fail.leo
2020-07-16 20:47:47 -07:00

12 lines
159 B
Plaintext

circuit Foo {
f: u32,
function bar() -> u32 {
return f
}
}
function main() -> u32 {
let foo = Foo { f: 1u32 };
return foo.bar()
}