leo/tests/compiler/circuits/member_variable.leo
2021-05-12 20:47:03 +03:00

16 lines
196 B
Plaintext

/*
namespace: Compile
expectation: Pass
input_file: input/dummy.in
*/
circuit Foo {
x: u32,
}
function main(y: bool) -> bool {
const a = Foo { x: 1u32 };
return a.x == 1u32 == y;
}