aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/indexing/array_out_of_bounds_index.sol
blob: b00798570ed3b3a6a79371e5eef269d117955449 (plain) (blame)
1
2
3
4
5
6
7
8
contract C {
  function f() public {
    bytes[32] memory a;
    a[64];
  }
}
// ----
// TypeError: (65-70): Out of bounds array access.