aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/array/length/cannot_be_function.sol
blob: ac3abc4c495d33b7d677599a81eeeb455bc5a379 (plain) (blame)
1
2
3
4
5
6
contract C {
    function f() {}
    uint[f] ids;
}
// ----
// TypeError: (42-43): Invalid array length, expected integer literal or constant expression.