summaryrefslogtreecommitdiff
path: root/test.toc
diff options
context:
space:
mode:
Diffstat (limited to 'test.toc')
-rw-r--r--test.toc6
1 files changed, 5 insertions, 1 deletions
diff --git a/test.toc b/test.toc
index d4f021a..b6ebe53 100644
--- a/test.toc
+++ b/test.toc
@@ -3,6 +3,10 @@
// io.puts("Hello, world!");
// };
+foo ::= fn(bar :: int = #foreign "X") {
+
+};
+
stdout :: &u8 = #foreign "stdout";
fwrite :: fn(&u8, u64, u64, &u8) = #foreign "fwrite";
@@ -13,4 +17,4 @@ puts ::= fn(x : []char) {
main ::= fn() {
puts("Hello, world!\n");
-}; \ No newline at end of file
+};