mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
9 lines
214 B
Solidity
9 lines
214 B
Solidity
|
contract test {
|
||
|
function f() public {
|
||
|
ufixed a = 11/4;
|
||
|
ufixed248x8 b = a; b;
|
||
|
}
|
||
|
}
|
||
|
// ----
|
||
|
// TypeError: (75-92): Type ufixed128x18 is not implicitly convertible to expected type ufixed248x8.
|