solidity/test/libsolidity/syntaxTests/types/rational_number_literal_limit_2.sol
2018-04-16 11:45:55 +02:00

10 lines
297 B
Solidity

contract c {
function bignum() public {
uint a;
a = 134562324532464234452335168163516E1200 / 134562324532464234452335168163516E1200; // still fine
a = 1345623245324642344523351681635168E1200; // too large
}
}
// ----
// TypeError: (179-218): Invalid literal value.