aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/examples/x.d
blob: 617aa38a1299007701f7f730a962938672d7ff5c (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
37
38
39
40
41
42
43
44
45
46
47
$
// /++ +/ doccomments are not yet supported
/* */
/** */
/// drdr
/+ /+ +/ +/
//keyword test
keyword1
keyword2
keyword4
keyword5
keyword6
keyword7
//unicode identifier test
вапёasdÓΘΣαԷԸՑהכ拉麺とひシマイ단결을
//strings test
's
'
w's'w
"multiline
			string"w
e"zz"e
r"asd\"e
r"multiline
			string"c
r`asd\`e
`multiline
			string`d
x"023 abc"e
x"023
	abc"w
//numbers test
a[3..4]=3
2.stringof
2.0.stringof
2.
2.2e+2
2.2e-2
.2e+2
.2
2e+2
0x2e+2
0x2ep+10
,.2.stringof,

end