mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-11-23 23:23:50 +03:00
19 lines
225 B
Plaintext
19 lines
225 B
Plaintext
/*
|
|
namespace: Compile
|
|
expectation: Pass
|
|
input_file: input/dummy.in
|
|
*/
|
|
|
|
circuit Foo {
|
|
a: u8;
|
|
}
|
|
|
|
function main(y: bool) -> bool {
|
|
let f = Foo { a: 0u8 };
|
|
|
|
f.a = 1u8;
|
|
f.a = 2u8;
|
|
|
|
return f.a == 2u8 == true;
|
|
}
|