aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/parsing/lexer_numbers_with_underscores_decimal.sol
blob: d4d3299f82c649b7716843ae921139a6b9bd6f89 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
contract C {
  function f() public pure {
    uint d1 = 654_321;
    uint d2 =  54_321;
    uint d3 =   4_321;
    uint d4 = 5_43_21;
    uint d5 = 1_2e10;
    uint d6 = 12e1_0;

    d1; d2; d3; d4; d5; d6;
  }
}
// ----