aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/nameAndTypeResolution/530_tuple_invalid_literal_too_large_for_uint.sol
blob: bbfe22066d4c7d2d79a782cff2ee7ab4e851dd90 (plain) (blame)
1
2
3
4
5
6
7
8
contract C {
    function f() pure public {
        uint x;
        (x, ) = (1E111);
    }
}
// ----
// TypeError: (76-83): Type int_const 1000...(104 digits omitted)...0000 is not implicitly convertible to expected type tuple(uint256,).