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

9 lines
137 B
Solidity
Raw Normal View History

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