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

6 lines
195 B
Solidity
Raw Normal View History

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