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

11 lines
266 B
Solidity

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