mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
9 lines
188 B
Solidity
9 lines
188 B
Solidity
contract C {
|
|
function f() public {
|
|
bytes[32] memory a;
|
|
a[-1];
|
|
}
|
|
}
|
|
// ----
|
|
// TypeError 7407: (67-69): Type int_const -1 is not implicitly convertible to expected type uint256.
|