aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/nameAndTypeResolution/531_tuple_invalid_literal_too_large_unassigned.sol
blob: 6b9cbf79baf584613190b7bf09849428534e0c22 (plain) (blame)
1
2
3
4
5
6
7
8
contract C {
    function f() pure public {
        uint x;
        (x, ) = (1, 1E111);
    }
}
// ----
// TypeError: (80-85): Invalid rational number.