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

9 lines
100 B
Plaintext

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