solidity/test/libsolidity/syntaxTests/arrayLength/cannot_be_function.sol
2018-04-11 18:01:24 +02:00

7 lines
154 B
Solidity

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