aboutsummaryrefslogblamecommitdiffstats
path: root/test/libsolidity/syntaxTests/nameAndTypeResolution/329_rational_as_exponent_value_signed.sol
blob: b835e309325a6fe7c31073d4ef3300e8e956096a (plain) (tree)
1
2
3
4
5
6
7






                                                                                                   
contract test {
    function f() public {
        fixed g = 2 ** -2.2;
    }
}
// ----
// TypeError: (60-69): Operator ** not compatible with types int_const 2 and rational_const -11 / 5