leo/tests/compiler/array/input_nested_3x2_fail.leo

10 lines
238 B
Plaintext
Raw Normal View History

2021-05-03 17:28:53 +03:00
/*
namespace: Compile
expectation: Fail
2021-05-05 21:25:24 +03:00
input_file: input/input_nested_3x2_fail.in
2021-05-03 17:28:53 +03:00
*/
2021-05-05 21:25:24 +03:00
function main(a: [u8; (3, 2)]) -> bool {
return a == [[0u8; 2]; 3)]; // This should be written the right way as this test is for the input file.
}