about summary refs log tree commit diff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/-1.pry6
1 files changed, 2 insertions, 4 deletions
diff --git a/examples/-1.pry b/examples/-1.pry
index 03bac03..0f33c37 100644
--- a/examples/-1.pry
+++ b/examples/-1.pry
@@ -1,11 +1,9 @@
 /* HELLO! Welcome to the unnamed language */
 
-let putchar = () => i64 {
-	return 0;
-};
+extern printf = (*i8, varargs) => void;
 
 let main = () => i64 {
-	putchar();
+	printf("HELLO WORLD!\n");
 	return 7;
 };