mirror of
https://github.com/AleoHQ/leo.git
synced 2024-12-19 15:41:36 +03:00
16 lines
198 B
Plaintext
16 lines
198 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;
|
|
}
|