aboutsummaryrefslogtreecommitdiff
path: root/compiler/tests/tokenizer/numbers.bad
blob: e55b35ee710d6556d51079311bf7692831c74afc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36

/* ERRORS */
int a = 0n;
float b = 1.;
float c = 1e;
float d = 1E;
float e = 1.e3;
float f = 1.e;
float g = 12..34e56;
float h = 1.2.3;
float i = 1.2.3e4;
float j = 1.2e4e5;
float k = 1.2n3;
float l = .1;
float m = .1e2;
float n = 1. ;
float o = 1. 2;
float p = 1e ;
float q = 1e 2;
float r = 1ee2;
float s = 1e2.3;
float t = 12e34.56;
int u = _1;
int v = 0x;
int w = 0xg;
int x = 0x_;
int y = 0x-1;
int z = 0x0123456789012345678901234567890123456789abcdef;
int aa = 0Xabc;
int ab = 1¿;
int ac = 1.¿;
int ad = 1.0¿;
int ae = 1.0e¿;
int af = 1.0e1¿;
int ag = 0x¿;
int ah = 0x1¿;