leo/compiler/tests/circuits/self_no_member_fail.leo
2020-07-16 20:47:47 -07:00

10 lines
143 B
Plaintext

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