diff options
Diffstat (limited to 'examples/hello-world.cff')
| -rw-r--r-- | examples/hello-world.cff | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/examples/hello-world.cff b/examples/hello-world.cff index 6266246..9764ac2 100644 --- a/examples/hello-world.cff +++ b/examples/hello-world.cff @@ -1,13 +1,6 @@ extern fn printf(fmt *const u8, ...) int; -#when sizeof *void == 8 { -def str = "hello 64-bit"; -} -#when sizeof *void == 4 { -def str = "hello 32-bit"; -} - -extern fn main(argc int, argv *const *const u8) int { - printf(str ## "\n"); +extern fn main(argc int, argc *const *const u8) int { + printf("hello world\n"); } |