aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/nameAndTypeResolution/334_fixed_point_casting_exponents_neg.sol
blob: 03d10f7c029a888b48f2bfc2c820a1278b75a91a (plain) (blame)
1
2
3
4
5
6
7
contract test {
    function f() public {
        ufixed c = 42 ** fixed(-1/4);
    }
}
// ----
// TypeError: (61-78): Operator ** not compatible with types int_const 42 and fixed128x18