mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
6 lines
224 B
Solidity
6 lines
224 B
Solidity
contract C {
|
|
fixed8x80 a = -1e-100;
|
|
}
|
|
// ----
|
|
// TypeError: (29-36): Type rational_const -1 / 1000...(93 digits omitted)...0000 is not implicitly convertible to expected type fixed8x80, but it can be explicitly converted.
|