leo/tests/compiler/circuits/member_variable_fail.leo
2021-04-19 18:08:14 -07:00

9 lines
100 B
Plaintext

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