aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/indexing/array_noninteger_index.sol
blob: 7c0ac9fe24c48e27645d3c5f2b50f0ab374073d5 (plain) (blame)
1
2
3
4
5
6
7
8
contract C {
  function f() public {
    bytes[32] memory a;
    a[888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888];
  }
}
// ----
// TypeError: (67-178): Type int_const 8888...(103 digits omitted)...8888 is not implicitly convertible to expected type uint256.