leo/tests/compiler/array/multi_initializer.leo
2021-04-19 18:08:14 -07:00

7 lines
149 B
Plaintext

function main() {
const a: [u8; (2, 2, 2)] = [1u8; (2, 2, 2)];
const b: [u8; (2, 2, 2)] = [[[1u8; 2]; 2]; 2];
console.assert(a == b);
}