mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
8 lines
183 B
Solidity
8 lines
183 B
Solidity
|
contract test {
|
||
|
function f() public {
|
||
|
uint[fixed(3.5)] a; a;
|
||
|
}
|
||
|
}
|
||
|
// ----
|
||
|
// TypeError: (55-65): Invalid array length, expected integer literal or constant expression.
|