aboutsummaryrefslogblamecommitdiffstats
path: root/test/libsolidity/syntaxTests/nameAndTypeResolution/338_rational_bitnot_unary_operation.sol
blob: 44a6ab5e02cd81342a94ef4d91a6471814b86df8 (plain) (tree)
1
2
3
4
5
6
7






                                                                             
contract test {
    function f() public {
        ~fixed(3.5);
    }
}
// ----
// TypeError: (50-61): Unary operator ~ cannot be applied to type fixed128x18