solidity/test/libsolidity/syntaxTests/nameAndTypeResolution/112_exp_operator_exponent_too_big.sol

6 lines
200 B
Solidity

contract test {
function f() public returns (uint d) { return 2 ** 10000000000; }
}
// ----
// TypeError 2271: (66-82): Operator ** not compatible with types int_const 2 and int_const 10000000000