summaryrefslogtreecommitdiff
path: root/test.toc
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2020-02-29 11:08:42 -0500
committerLeo Tenenbaum <pommicket@gmail.com>2020-02-29 11:08:42 -0500
commita970f5f91b6f90acab60d05d1f5f92d059248e95 (patch)
treec6e514ba5096c93f091ef87aed399c0279b624f3 /test.toc
parent7d90b03b3d698a633582305a0e584919d5bb3f53 (diff)
more #foreign
Diffstat (limited to 'test.toc')
-rw-r--r--test.toc4
1 files changed, 2 insertions, 2 deletions
diff --git a/test.toc b/test.toc
index 086de07..825da51 100644
--- a/test.toc
+++ b/test.toc
@@ -1,6 +1,6 @@
-puts ::= #foreign fn (#C int);
+puts ::= #foreign("puts", "libc.so.6") fn (#C int);
main ::= fn() {
-
+ puts("Hello!");
}; \ No newline at end of file