summaryrefslogtreecommitdiff
path: root/testsuite/tests/parsing/int_and_float_with_modifier.ml
blob: 06384257b34804e1b77bcac0f0ebb2e43bec45e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
let int_with_custom_modifier =
  1234567890_1234567890_1234567890_1234567890_1234567890z
let float_with_custom_modifier =
  1234567890_1234567890_1234567890_1234567890_1234567890.z

let int32     = 1234l
let int64     = 1234L
let nativeint = 1234n

let hex_without_modifier = 0x32f
let hex_with_modifier    = 0x32g

let float_without_modifer = 1.2e3
let float_with_modifer    = 1.2g