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

7 lines
132 B
Solidity

contract C {
fixed constant L = 10.5;
uint[L] ids;
}
// ----
// TypeError: (51-52): Array with fractional length specified.