mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
9 lines
191 B
Solidity
9 lines
191 B
Solidity
contract C {
|
|
int8 constant a = -128;
|
|
function f() public pure {
|
|
uint[-a] memory x;
|
|
}
|
|
}
|
|
// ----
|
|
// TypeError 3667: (85-87): Arithmetic error when computing constant value.
|