aboutsummaryrefslogblamecommitdiffstats
path: root/test/libsolidity/syntaxTests/nameAndTypeResolution/306_invalid_int_implicit_conversion_from_fixed.sol
blob: c0a56314a03252d9ddeb4eab3d05a0af2454f68d (plain) (tree)
1
2
3
4
5
6
7
8
9








                                                                                              
contract test {
    function f() public {
        fixed a = 4.5;
        int b = a;
        a; b;
    }
}
// ----
// TypeError: (73-82): Type fixed128x18 is not implicitly convertible to expected type int256.