diff options
| author | 2022-08-15 12:22:47 +0200 | |
|---|---|---|
| committer | 2022-08-15 12:22:47 +0200 | |
| commit | f906d0b350b0b4ceb747669c9a9845d11bd0e486 (patch) | |
| tree | 5f09a7b714e6ce93f6094a06e5f736513110fb8d /examples | |
| parent | f802bb99263aaa5be492999babd44cd2fdb1c65f (diff) | |
self hosted progress
Diffstat (limited to 'examples')
| -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"; +} + |