solidity/test/libsolidity/syntaxTests/nameAndTypeResolution/533_tuple_invalid_literal_too_large_exp.sol

8 lines
129 B
Solidity
Raw Normal View History

contract C {
function f() pure public {
(2**270, 1);
}
}
// ----
// TypeError: (53-59): Invalid rational number.