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

8 lines
228 B
Solidity

contract C {
function f() public pure {
uint X1 = 0x1234__1234__1234__123;
}
}
// ----
// SyntaxError 2990: (56-79): Invalid use of underscores in number literal. Only one consecutive underscores between digits allowed.