mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
8 lines
149 B
Solidity
8 lines
149 B
Solidity
contract C {
|
|
function f() public {
|
|
uint i = [0, 1, 2][];
|
|
}
|
|
}
|
|
// ----
|
|
// TypeError 5093: (56-67): Index expression cannot be omitted.
|