diff options
Diffstat (limited to 'spec/inputs/unicode/export_default.yue')
-rw-r--r-- | spec/inputs/unicode/export_default.yue | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/spec/inputs/unicode/export_default.yue b/spec/inputs/unicode/export_default.yue new file mode 100644 index 0000000..74ec10e --- /dev/null +++ b/spec/inputs/unicode/export_default.yue | |||
@@ -0,0 +1,15 @@ | |||
1 | |||
2 | 打印 "没问题" | ||
3 | |||
4 | export default -> | ||
5 | 打印 "你好" | ||
6 | 123 | ||
7 | |||
8 | (参数x, 回调y)<- 函数 123, "abc" unless 是否结束 | ||
9 | 打印 参数x | ||
10 | (参数y, 结果)<- 回调y | ||
11 | return if 结果 | ||
12 | 变量abc + 参数y | ||
13 | else | ||
14 | 变量abc | ||
15 | |||