leo/compiler/tests/circuits/member_field.leo

9 lines
96 B
Plaintext
Raw Normal View History

circuit Circ {
2020-06-29 23:05:41 +03:00
x: u32,
}
function main() -> u32 {
let c = Circ { x: 1u32 };
return c.x
}