solidity/test/libsolidity/syntaxTests/indexing/array_out_of_bounds_index.sol

9 lines
142 B
Solidity

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