summaryrefslogtreecommitdiff
path: root/test.toc
diff options
context:
space:
mode:
Diffstat (limited to 'test.toc')
-rw-r--r--test.toc4
1 files changed, 4 insertions, 0 deletions
diff --git a/test.toc b/test.toc
index d7654e3..aa12b62 100644
--- a/test.toc
+++ b/test.toc
@@ -5,6 +5,10 @@ import ::= fn(x :: []char) &Package {
p_ptr
};
+// n should be size_t
+memcpy :: fn (&u8, &u8, u64) = #foreign;
+
+
main ::= fn() {
io ::= import("std/io");
io.puts("Hello, world!");