diff options
Diffstat (limited to 'spec/inputs/import.yue')
-rw-r--r-- | spec/inputs/import.yue | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/spec/inputs/import.yue b/spec/inputs/import.yue index eb2a487..7a21995 100644 --- a/spec/inputs/import.yue +++ b/spec/inputs/import.yue | |||
@@ -47,6 +47,35 @@ do | |||
47 | import x1, y1, \z1 from "mymodule" | 47 | import x1, y1, \z1 from "mymodule" |
48 | 48 | ||
49 | do | 49 | do |
50 | from 'yue' import p | ||
51 | from 'mymodule' import x1, y1, \z1 | ||
52 | |||
53 | do | ||
54 | from z import a, b, c | ||
55 | |||
56 | do | ||
57 | from z import a, | ||
58 | b, c | ||
59 | |||
60 | do | ||
61 | from z import a | ||
62 | b | ||
63 | c | ||
64 | |||
65 | do | ||
66 | from z import | ||
67 | a | ||
68 | b | ||
69 | c | ||
70 | |||
71 | do | ||
72 | from z | ||
73 | import | ||
74 | a | ||
75 | b | ||
76 | c | ||
77 | |||
78 | do | ||
50 | import 'module' | 79 | import 'module' |
51 | import 'module_x' | 80 | import 'module_x' |
52 | import "d-a-s-h-e-s" | 81 | import "d-a-s-h-e-s" |