mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
11 lines
429 B
Solidity
11 lines
429 B
Solidity
contract C {
|
|
function f() public {
|
|
// Invalid number
|
|
78901234567890123456789012345678901234567890123456789345678901234567890012345678012345678901234567;
|
|
[1, 78901234567890123456789012345678901234567890123456789345678901234567890012345678012345678901234567];
|
|
}
|
|
}
|
|
// ----
|
|
// TypeError: (89-187): Invalid rational number.
|
|
// TypeError: (205-303): Invalid rational number.
|