leo/compiler/tests/circuits/member_field_fail.leo

9 lines
95 B
Plaintext
Raw Normal View History

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