solidity/test/libsolidity/syntaxTests/indexing/array_without_index.sol

9 lines
139 B
Solidity
Raw Normal View History

contract C {
function f() public {
bytes memory a;
a[];
}
}
// ----
// TypeError: (61-64): Index expression cannot be omitted.