aboutsummaryrefslogblamecommitdiffstats
path: root/test/libsolidity/syntaxTests/nameAndTypeResolution/341_rational_bitand_binary_operation.sol
blob: 5a433a61483879b1b8e9fe74e32d932ee019c957 (plain) (tree)
1
2
3
4
5
6
7






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