summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDaniel Weipert <git@mail.dweipert.de>2024-07-08 15:03:42 +0200
committerDaniel Weipert <git@mail.dweipert.de>2024-07-08 15:03:42 +0200
commitb858cc223a936a522bb5f88065f6686489841955 (patch)
treeabc50b990c0e73bcc8f79c7b394451bd12ad4b9e /test
parentc96a938727ef0f7864bf99d767ed1ae2f5e7040c (diff)
array and map
Diffstat (limited to 'test')
-rw-r--r--test/test.test10
1 files changed, 9 insertions, 1 deletions
diff --git a/test/test.test b/test/test.test
index 2ffe743..af1bf76 100644
--- a/test/test.test
+++ b/test/test.test
@@ -14,4 +14,12 @@ function main(input: string): void {
return hello;
}
-main(test);
+main(input = "hello!");
+
+const array: [integer][3] = [1, 2, 3];
+const map: [string][string or integer] = [
+ "first": 1,
+ "second": "two",
+ "third": "3",
+ "fourth": 4,
+];