leo/compiler/tests/circuits/member_field_fail.leo

9 lines
99 B
Plaintext
Raw Normal View History

2020-07-17 06:47:47 +03:00
circuit Foo {
2020-07-17 22:59:18 +03:00
x: u32
}
function main() -> u32 {
2020-07-17 22:59:18 +03:00
let c = Foo { x: 1u32 };
2020-07-17 22:59:18 +03:00
return c.y
}