leo/compiler/tests/circuits/self_member_undefined.leo

10 lines
140 B
Plaintext
Raw Normal View History

circuit Foo {
function bar() -> u32 {
return self.f
}
}
2020-07-30 21:11:54 +03:00
function main() {
2020-07-17 06:47:47 +03:00
let foo = Foo { };
2020-07-30 21:11:54 +03:00
let err = foo.bar();
}