mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-11-27 12:17:35 +03:00
18 lines
266 B
Plaintext
18 lines
266 B
Plaintext
/*
|
|
namespace: Compile
|
|
expectation: Pass
|
|
input_file: input/dummy.in
|
|
*/
|
|
|
|
program test.aleo {
|
|
struct Foo {
|
|
x: u32,
|
|
}
|
|
|
|
transition main(y: bool) -> bool {
|
|
const a: Foo = Foo { x: 1u32 };
|
|
|
|
return (a.x == 1u32) == y;
|
|
}
|
|
}
|