leo/asg/tests/fail/circuits/self_member_invalid.leo
2021-01-25 07:19:38 -08:00

12 lines
163 B
Plaintext

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