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

9 lines
100 B
Plaintext
Raw Normal View History

2021-01-25 18:17:42 +03:00
circuit Foo {
x: u32
}
function main() {
const a = Foo { x: 1u32 };
2021-01-25 18:17:42 +03:00
const err = a.y;
2021-01-25 18:17:42 +03:00
}