From 294777178f9203283364f3e672569becb4dd1e7c Mon Sep 17 00:00:00 2001 From: hachem Date: Sun, 30 Aug 2026 21:21:53 +0200 Subject: test: add automated docker testing for the whole test suite --- examples/call.hdass | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 examples/call.hdass (limited to 'examples/call.hdass') diff --git a/examples/call.hdass b/examples/call.hdass new file mode 100644 index 0000000..239a26b --- /dev/null +++ b/examples/call.hdass @@ -0,0 +1,13 @@ +// Passes an argument through a proc parameter, which exits with that value. +const SYS_EXIT = 60 + +proc exit_with(code: rdi) +{ + rax = SYS_EXIT + syscall +} + +proc main +{ + exit_with(21) +} -- cgit v1.3