summaryrefslogtreecommitdiff
path: root/test/const-map.mnml
diff options
context:
space:
mode:
Diffstat (limited to 'test/const-map.mnml')
-rw-r--r--test/const-map.mnml11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/const-map.mnml b/test/const-map.mnml
new file mode 100644
index 0000000..b63b68b
--- /dev/null
+++ b/test/const-map.mnml
@@ -0,0 +1,11 @@
+const map: [string][string or integer or bool] = [
+ "first" = 1 <= 2,
+ "second" = "two",
+ "third" = "3",
+ "fourth" = 4 > 3,
+/* "fifth" = (): void {
+ return "5."
+ },*/
+ "sixth" = 20_000,
+ "seventh" = 20.02,
+]