aboutsummaryrefslogblamecommitdiffstats
path: root/test/libsolidity/syntaxTests/nameAndTypeResolution/305_fixed_type_rational_fraction_conversion.sol
blob: 270298601b4793f88448e822190167f14c014aa9 (plain) (tree)
1
2
3
4
5
6
7
8
9








                                                                         
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