diff options
| author | Baitinq <[email protected]> | 2025-03-21 20:22:45 +0100 |
|---|---|---|
| committer | Baitinq <[email protected]> | 2025-03-22 20:30:56 +0100 |
| commit | 95999cb6a286871e245e8b9e20d79bc6cd22252c (patch) | |
| tree | b9ae565e1284fc58c255725fb78ee877a3bd960f /examples | |
| parent | Misc: Improve error handling (diff) | |
| download | interpreter-95999cb6a286871e245e8b9e20d79bc6cd22252c.tar.gz interpreter-95999cb6a286871e245e8b9e20d79bc6cd22252c.tar.bz2 interpreter-95999cb6a286871e245e8b9e20d79bc6cd22252c.zip | |
Feature: Add initial support for linking external symbols
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/15.src | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/examples/15.src b/examples/15.src index 7bd73d2..fd68961 100644 --- a/examples/15.src +++ b/examples/15.src @@ -1,7 +1,11 @@ -let putc = (i64) => i64; - -let main = () => i64 { - putc(52); +let putchar = (i64) => i64; +let main = (_: void) => i64 { + putchar(72); + putchar(101); + putchar(108); + putchar(108); + putchar(111); + putchar(10); return 0; }; |