mirror of
https://github.com/AleoHQ/leo.git
synced 2024-12-21 08:31:33 +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;
|
|
}
|