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

9 lines
134 B
Solidity
Raw Normal View History

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