summaryrefslogtreecommitdiffhomepage
path: root/snippets/test_snippets/inner.nc
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2026-03-08 06:22:49 +0100
committerAmlal El Mahrouss <amlal@nekernel.org>2026-03-08 06:24:45 +0100
commit9ff9bf184558f47f83c44196a05983a49f5bdf16 (patch)
tree98b7a0dce73cf5a3a4674370c20c695aac6e3963 /snippets/test_snippets/inner.nc
parentb64851f5c5654f9f28bd18b42155e5daea8c7e50 (diff)
[FEAT] CompilerKit testing coverage additions and 64-bit assembler patches.compiler_kit-test-additions
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'snippets/test_snippets/inner.nc')
-rw-r--r--snippets/test_snippets/inner.nc11
1 files changed, 11 insertions, 0 deletions
diff --git a/snippets/test_snippets/inner.nc b/snippets/test_snippets/inner.nc
new file mode 100644
index 0000000..5d90b41
--- /dev/null
+++ b/snippets/test_snippets/inner.nc
@@ -0,0 +1,11 @@
+extern exit;
+
+let main()
+{
+ let foo := 42;
+
+ const ret_stub():
+ foo := 0x10;
+ exit(foo);
+ return 0x0;
+}