solidity/test/libsolidity/syntaxTests/array/length/const_cannot_be_fractional.sol

7 lines
137 B
Solidity
Raw Normal View History

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