solidity/test/libsolidity/syntaxTests/parsing/trailing_dot2.sol

8 lines
150 B
Solidity
Raw Normal View History

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