summaryrefslogtreecommitdiff
path: root/test.toc
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2019-12-14 11:20:32 -0500
committerLeo Tenenbaum <pommicket@gmail.com>2019-12-14 11:20:32 -0500
commite69a6cb8ff340baae6e4adee5414238751beaa1f (patch)
tree8f88ef0f917f40452f994656e7786d1a1622024e /test.toc
parentcf76d56b37a368fda3d70a548192239a3ce45bbb (diff)
basic inferred params
Diffstat (limited to 'test.toc')
-rw-r--r--test.toc2
1 files changed, 2 insertions, 0 deletions
diff --git a/test.toc b/test.toc
index 74980c0..24b24b4 100644
--- a/test.toc
+++ b/test.toc
@@ -2,6 +2,8 @@ f ::= fn(t::=, x :t) t {
x + 1
};
+// test: fn(t::=int,u::=t,x:u)u
+
main ::= fn() {
f(13);
}; \ No newline at end of file