summaryrefslogtreecommitdiff
path: root/test.toc
diff options
context:
space:
mode:
Diffstat (limited to 'test.toc')
-rw-r--r--test.toc10
1 files changed, 6 insertions, 4 deletions
diff --git a/test.toc b/test.toc
index 75c471f..473e442 100644
--- a/test.toc
+++ b/test.toc
@@ -15,11 +15,13 @@
-f @= fn() Type {
-int
+f @= fn(s @ Type) Type {
+t @= int;
+t
};
main @= fn() {
-x : f();
-
+x : f(int);
+y : f(int);
+z : f(float);
}; \ No newline at end of file