leo/asg/tests/fail/circuits/member_variable_fail.leo

9 lines
100 B
Plaintext

circuit Foo {
x: u32
}
function main() {
const a = Foo { x: 1u32 };
const err = a.y;
}