aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/nameAndTypeResolution/333_fixed_point_casting_exponents_15.sol
blob: 0fd5f331fb9a38febd157aa8e2cb19c6e9eee84e (plain) (blame)
1
2
3
4
5
6
7
contract test {
    function f() public {
        ufixed a = 3 ** ufixed(1.5);
    }
}
// ----
// TypeError: (61-77): Operator ** not compatible with types int_const 3 and ufixed128x18