leo/compiler/tests/circuits/member_field_fail.leo
2020-07-17 12:59:18 -07:00

9 lines
99 B
Plaintext

circuit Foo {
x: u32
}
function main() -> u32 {
let c = Foo { x: 1u32 };
return c.y
}