solidity/test/libsolidity/syntaxTests/parsing/trailing_dot2.sol
2020-01-08 16:12:06 +01:00

8 lines
145 B
Solidity

contract test {
uint256 a = 2.2e10;
uint256 b = .5E10;
uint256 c = 2 + 2.;
}
// ----
// ParserError: (76-77): Expected identifier but got ";"