summaryrefslogtreecommitdiff
path: root/test/asset/parser/type-annotation.et
diff options
context:
space:
mode:
Diffstat (limited to 'test/asset/parser/type-annotation.et')
-rw-r--r--test/asset/parser/type-annotation.et6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/asset/parser/type-annotation.et b/test/asset/parser/type-annotation.et
new file mode 100644
index 0000000..5fbf323
--- /dev/null
+++ b/test/asset/parser/type-annotation.et
@@ -0,0 +1,6 @@
+def fun (a) and b:
+ let c = [ a : String, "x" ]
+ let d = [ b : String, "y" : String ]
+
+test Test:
+ let x = "" : String