solidity/test/libsolidity/syntaxTests/indexing/array_out_of_bounds_index.sol
2018-07-24 20:26:36 +01:00

9 lines
137 B
Solidity

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