aboutsummaryrefslogblamecommitdiffstats
path: root/test/libsolidity/syntaxTests/nameAndTypeResolution/339_rational_bitor_binary_operation.sol
blob: 29871b04cfdc766b3139c3c996e35e2aac16d76d (plain) (tree)
1
2
3
4
5
6
7






                                                                                       
contract test {
    function f() public {
        fixed(1.5) | 3;
    }
}
// ----
// TypeError: (50-64): Operator | not compatible with types fixed128x18 and int_const 3