solidity/test/libsolidity/syntaxTests/arrayLength/cannot_be_function.sol

7 lines
154 B
Solidity
Raw Normal View History

contract C {
function f() {}
uint[f] ids;
}
// ----
// TypeError: (42-43): Invalid array length, expected integer literal or constant expression.