solidity/test/libsolidity/syntaxTests/nameAndTypeResolution/305_fixed_type_rational_fraction_conversion.sol

11 lines
266 B
Solidity
Raw Normal View History

contract test {
function f() public {
fixed a = 4.5;
ufixed d = 2.5;
a; d;
}
}
// ----
2019-08-16 13:53:10 +00:00
// UnimplementedFeatureError: Not yet implemented - FixedPointType.
// Warning 2018: (20-108): Function state mutability can be restricted to pure