diff options
| author | hachem <im@hachem.wtf> | 2026-08-30 21:21:53 +0200 |
|---|---|---|
| committer | hachem <im@hachem.wtf> | 2026-08-30 21:21:53 +0200 |
| commit | 294777178f9203283364f3e672569becb4dd1e7c (patch) | |
| tree | b97447843d06f8f63a01505c85e6e9f9e804b797 /examples/exit_code.hdass | |
| parent | 13704a1df5c15af7163cc7764b0aeebc81ad2bdd (diff) | |
test: add automated docker testing for the whole test suite
Diffstat (limited to 'examples/exit_code.hdass')
| -rw-r--r-- | examples/exit_code.hdass | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/examples/exit_code.hdass b/examples/exit_code.hdass new file mode 100644 index 0000000..7c44df9 --- /dev/null +++ b/examples/exit_code.hdass @@ -0,0 +1,9 @@ +// Exits with status 42 and no output. +const SYS_EXIT = 60 + +proc main +{ + rax = SYS_EXIT + rdi = 42 + syscall +} |
