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

10 lines
193 B
Solidity
Raw Normal View History

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