mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
15 lines
435 B
Solidity
15 lines
435 B
Solidity
contract C {
|
|
function f() public pure {
|
|
uint[][1:] memory x;
|
|
uint[][1:2] memory x;
|
|
uint[1:] memory x;
|
|
uint[1:2] memory x;
|
|
}
|
|
}
|
|
|
|
// ----
|
|
// ParserError 5464: (52-62): Expected array length expression.
|
|
// ParserError 5464: (81-92): Expected array length expression.
|
|
// ParserError 5464: (111-119): Expected array length expression.
|
|
// ParserError 5464: (138-147): Expected array length expression.
|