leo/compiler/tests/function/array_input.leo

6 lines
90 B
Plaintext
Raw Normal View History

2020-10-26 23:14:36 +03:00
function foo(a: [u8; 1]) {}
function main() {
let a: [u16; 1] = [1; 1];
foo(a);
}