aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/hello-world.cff6
1 files changed, 1 insertions, 5 deletions
diff --git a/examples/hello-world.cff b/examples/hello-world.cff
index 29a1c03..3eb198c 100644
--- a/examples/hello-world.cff
+++ b/examples/hello-world.cff
@@ -1,10 +1,6 @@
-extern fn printf(fmt *const u8, ...) int;
-extern fn cos(x f32) f32;
+import "libc.hff";
extern fn main(argc int, argv *const *const u8) int {
- let x = argv,
- z = 3;
- let foo = x + z;
printf("hello world\n");
}