solidity/test/libsolidity/syntaxTests/nameAndTypeResolution/303_fixed_type_int_conversion.sol

13 lines
305 B
Solidity

contract test {
function f() public {
uint64 a = 3;
int64 b = 4;
fixed c = b;
ufixed d = a;
c; d;
}
}
// ----
// UnimplementedFeatureError: Not yet implemented - FixedPointType.
// Warning 2018: (20-147): Function state mutability can be restricted to pure