diff options
Diffstat (limited to 'examples/hello-world.cff')
| -rw-r--r-- | examples/hello-world.cff | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/examples/hello-world.cff b/examples/hello-world.cff new file mode 100644 index 0000000..d127b96 --- /dev/null +++ b/examples/hello-world.cff @@ -0,0 +1,8 @@ + +extern fn printf(fmt *const u8, ...) int; +extern fn printf2(fmt *const u8, ...) int; + +extern fn main(argc int, argc *const *const u8) int { + "hello world\n"; +} + |