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

9 lines
128 B
Solidity

contract C {
function f() public {
bytes32 b;
b[64];
}
}
// ----
// TypeError: (56-61): Out of bounds array access.