summaryrefslogtreecommitdiff
path: root/spec/inputs
diff options
context:
space:
mode:
authorLi Jin <dragon-fly@qq.com>2025-05-21 15:42:03 +0800
committerLi Jin <dragon-fly@qq.com>2025-05-21 15:42:03 +0800
commitd4b7efe3f48b40d108754d2e8359fee1cd9dded8 (patch)
tree2ec4133a47b947ec78d12076f981aa38d3b569c6 /spec/inputs
parent0603800a4114ed8b4c9572a7d7852995c9b9f334 (diff)
downloadyuescript-d4b7efe3f48b40d108754d2e8359fee1cd9dded8.tar.gz
yuescript-d4b7efe3f48b40d108754d2e8359fee1cd9dded8.tar.bz2
yuescript-d4b7efe3f48b40d108754d2e8359fee1cd9dded8.zip
Added global const declaration.
Diffstat (limited to 'spec/inputs')
-rw-r--r--spec/inputs/global.yue5
1 files changed, 5 insertions, 0 deletions
diff --git a/spec/inputs/global.yue b/spec/inputs/global.yue
index ce1cc15..8316d16 100644
--- a/spec/inputs/global.yue
+++ b/spec/inputs/global.yue
@@ -82,3 +82,8 @@ do
82 FooBar = "pascal case" 82 FooBar = "pascal case"
83 FOOBAR = "all uppercase" 83 FOOBAR = "all uppercase"
84 84
85do
86 global const class A
87 global const Flag = 1
88 global const const, x, y = "const", 1, 2
89