solidity/test/libsolidity/syntaxTests/indexing/array_without_index.sol
2018-07-24 20:26:36 +01:00

9 lines
139 B
Solidity

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