leo/compiler/tests/circuits/self_member_undefined.leo
2020-07-30 11:11:54 -07:00

10 lines
140 B
Plaintext

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