mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-11-30 23:33:27 +03:00
18 lines
279 B
Plaintext
18 lines
279 B
Plaintext
/*
|
|
namespace: Compile
|
|
expectation: Pass
|
|
input_file: input/dummy.in
|
|
*/
|
|
|
|
function do_nothing(arr: [u32; 2]) {}
|
|
|
|
function main(y: bool) -> bool {
|
|
const arr: [u32; 2] = [0; 2];
|
|
|
|
do_nothing(arr);
|
|
do_nothing([...arr]);
|
|
do_nothing(arr[0u32..]);
|
|
|
|
return y == true;
|
|
}
|