leo/tests/old/pass/circuits/member_variable_fail.leo
2021-04-12 13:15:39 -07:00

9 lines
100 B
Plaintext

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