leo/compiler/tests/circuits/member_field.leo
2020-06-29 13:05:41 -07:00

9 lines
96 B
Plaintext

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