summaryrefslogtreecommitdiff
path: root/test/basic/linker.txt
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-04-14 20:13:00 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-04-14 20:13:00 +0800
commitede808fe32a66ac828762818bf43d18fc343c159 (patch)
treea4cc8808fff798ea3bfd7103fb56bfb1d74f9c9c /test/basic/linker.txt
parentbabe8e194576b0cd2ede04d98417a5f0e2a23647 (diff)
downloadlua-language-server-ede808fe32a66ac828762818bf43d18fc343c159.zip
stash
Diffstat (limited to 'test/basic/linker.txt')
-rw-r--r--test/basic/linker.txt16
1 files changed, 16 insertions, 0 deletions
diff --git a/test/basic/linker.txt b/test/basic/linker.txt
new file mode 100644
index 00000000..18176369
--- /dev/null
+++ b/test/basic/linker.txt
@@ -0,0 +1,16 @@
+ast -> linkers = {
+ globals = {
+ ['"X"|"Y"|"Z"'] = {src1, src2, src3},
+ ['"X"|"Y"'] = {src4, src5, src6},
+ ['"X"'] = {src7, src8, src9},
+ },
+ locals = {
+ ['7'] = {src10},
+ ['7|"x"'] = {src11},
+ },
+ tfield = {
+ ['11|"k"'] = {src12},
+ },
+}
+
+