diff options
Diffstat (limited to 'spec/inputs/unicode/literals.yue')
-rw-r--r-- | spec/inputs/unicode/literals.yue | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/spec/inputs/unicode/literals.yue b/spec/inputs/unicode/literals.yue new file mode 100644 index 0000000..3d58096 --- /dev/null +++ b/spec/inputs/unicode/literals.yue | |||
@@ -0,0 +1,55 @@ | |||
1 | |||
2 | 数据 = { | ||
3 | 121 | ||
4 | 121.2323 | ||
5 | 121.2323e-1 | ||
6 | 121.2323e13434 | ||
7 | 2323E34 | ||
8 | 0x12323 | ||
9 | |||
10 | 0xfF2323 | ||
11 | 0xabcdef | ||
12 | 0xABCDEF | ||
13 | 0x123p-123 | ||
14 | 0xABCP+321 | ||
15 | 0x.1p-111 | ||
16 | 0xA_B_CP-3_2_1 | ||
17 | |||
18 | .2323 | ||
19 | .2323e-1 | ||
20 | .2323e13434 | ||
21 | |||
22 | |||
23 | 1LL | ||
24 | 1ULL | ||
25 | 9332LL | ||
26 | 9332 | ||
27 | 0x2aLL | ||
28 | 0x2aULL | ||
29 | |||
30 | 1_000_000.000_000_1 | ||
31 | 1_234e567_8 | ||
32 | 1_234E-567_8 | ||
33 | 0xDE_AD_BE_EF | ||
34 | |||
35 | [[ 你好 世界 ]] | ||
36 | |||
37 | [=[ 你好 世界 ]=] | ||
38 | [====[ 你好 世界 ]====] | ||
39 | |||
40 | "另一个 世界" | ||
41 | |||
42 | '哪个 世界' | ||
43 | |||
44 | |||
45 | " | ||
46 | 你好 世界 | ||
47 | " | ||
48 | |||
49 | '是的 | ||
50 | 发生了什么 | ||
51 | 这里有些很酷的东西' | ||
52 | |||
53 | } | ||
54 | 空值 | ||
55 | |||