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

9 lines
139 B
Solidity

contract C {
function f() public {
bytes32 b;
b[];
}
}
// ----
// TypeError 8830: (56-59): Index expression cannot be omitted.