solidity/test/libsolidity/syntaxTests/nameAndTypeResolution/396_invalid_mobile_type.sol
2019-02-06 20:45:30 +01:00

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.