mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-12-18 07:11:53 +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;
|
|
}
|