mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
9 lines
192 B
Solidity
9 lines
192 B
Solidity
contract C {
|
|
uint8 constant a = 0;
|
|
function f() public pure {
|
|
uint[a - 1] memory x;
|
|
}
|
|
}
|
|
// ----
|
|
// TypeError 2643: (83-88): Arithmetic error when computing constant value.
|