leo/asg/tests/pass/function/array_input.leo

6 lines
92 B
Plaintext
Raw Normal View History

2021-01-25 18:17:42 +03:00
function foo(a: [u8; 1]) {}
function main() {
const a: [u16; 1] = [1; 1];
2021-01-25 18:17:42 +03:00
foo(a);
}