aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/nameAndTypeResolution/322_fixed_to_bytes_implicit_conversion.sol
blob: 8673648123099847de83ba4fc4ff7ea82a1ca2c2 (plain) (blame)
1
2
3
4
5
6
7
8
contract test {
    function f() public {
        fixed a = 3.25;
        bytes32 c = a; c;
    }
}
// ----
// TypeError: (74-87): Type fixed128x18 is not implicitly convertible to expected type bytes32.