mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
7 lines
254 B
Solidity
7 lines
254 B
Solidity
contract c {
|
|
function f(uint a) public { uint8[-1] x; }
|
|
}
|
|
// ----
|
|
// TypeError 3658: (51-53): Array with negative length specified.
|
|
// TypeError 6651: (45-56): Data location must be "storage", "memory" or "calldata" for variable, but none was given.
|