solidity/test/libsolidity/syntaxTests/indexing/array_out_of_bounds_index.sol
2022-04-01 23:41:18 -05:00

9 lines
150 B
Solidity

contract C {
function f() public {
bytes[32] memory a;
a[64];
}
}
// ----
// TypeError 3383: (65-70='a[64]'): Out of bounds array access.