aboutsummaryrefslogblamecommitdiffstats
path: root/test/libsolidity/syntaxTests/nameAndTypeResolution/330_rational_as_exponent_value_unsigned.sol
blob: 04ddf0fd8debbee4828296d253b44b33dede8cdb (plain) (tree)
1
2
3
4
5
6
7






                                                                                                 
contract test {
    function f() public {
        ufixed b = 3 ** 2.5;
    }
}
// ----
// TypeError: (61-69): Operator ** not compatible with types int_const 3 and rational_const 5 / 2