mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-12-18 07:11:53 +03:00
15 lines
237 B
Plaintext
15 lines
237 B
Plaintext
/*
|
|
namespace: Compile
|
|
expectation: Pass
|
|
input_file: input/dummy.in
|
|
*/
|
|
|
|
function main(y: bool) -> bool {
|
|
let a = [(1u32, 2u32)];
|
|
a[0u32].1 = 3u32;
|
|
|
|
return a[0u32].0 == 1u32
|
|
&& a[0u32].1 == 3u32
|
|
&& y == true;
|
|
}
|