leo/tests/pass/parse/circuits/member_variable_fail.leo
2021-03-03 09:59:24 -08:00

9 lines
96 B
Plaintext

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