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

9 lines
144 B
Solidity
Raw Normal View History

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