summaryrefslogtreecommitdiff
path: root/puts.nl
diff options
context:
space:
mode:
Diffstat (limited to 'puts.nl')
-rw-r--r--puts.nl9
1 files changed, 9 insertions, 0 deletions
diff --git a/puts.nl b/puts.nl
new file mode 100644
index 0000000..4379916
--- /dev/null
+++ b/puts.nl
@@ -0,0 +1,9 @@
+type int = i32;
+type char = i8;
+
+extern func int(ptr(char)) puts;
+
+int main(){
+ puts("kaas!");
+ return 0;
+} \ No newline at end of file