aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/parsing/lexer_numbers_with_underscores_hex_fail.sol
blob: a8a488c149a09d9444c1ac1c8d2f03e1be7c5c9e (plain) (blame)
1
2
3
4
5
6
7
contract C {
  function f() public pure {
    uint X1 = 0x1234__1234__1234__123;
  }
}
// ----
// SyntaxError: (56-79): Invalid use of underscores in number literal. Only one consecutive underscores between digits allowed.