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

9 lines
134 B
Solidity

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