aboutsummaryrefslogtreecommitdiff
path: root/examples/exit_code.hdass
diff options
context:
space:
mode:
authorhachem <im@hachem.wtf>2026-08-31 00:19:10 +0200
committerhachem <im@hachem.wtf>2026-08-31 00:19:10 +0200
commit3e20038bbf7206e2270655418d7884ccfe91a4e4 (patch)
treedfc7bf806a00c1dbec6c889351c108702a0e9d40 /examples/exit_code.hdass
parent8eac30c13cfa4f47a8a0aa0772b96f0813fe33a5 (diff)
add directives and directive based entry points
Diffstat (limited to 'examples/exit_code.hdass')
-rw-r--r--examples/exit_code.hdass2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/exit_code.hdass b/examples/exit_code.hdass
index 7c44df9..cabe634 100644
--- a/examples/exit_code.hdass
+++ b/examples/exit_code.hdass
@@ -1,3 +1,5 @@
+[entry: main]
+
// Exits with status 42 and no output.
const SYS_EXIT = 60