summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/impl.lac5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/impl.lac b/tests/impl.lac
new file mode 100644
index 00000000..91f5c52b
--- /dev/null
+++ b/tests/impl.lac
@@ -0,0 +1,5 @@
+val id = fn t :: Type => fn x : t => x
+val id_self = id [t :: Type -> t -> t] id
+
+val idi = fn t ::: Type => fn x : t => x
+val idi_self = idi idi