summaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2026-01-18 19:40:59 +0100
committerAmlal El Mahrouss <amlal@nekernel.org>2026-01-18 19:49:20 +0100
commit300eb04e2567a284f23edff7a8eef96bcd267254 (patch)
treefb3c5e1a8bfa74613fddfe345a5f765a97de6c88 /test
parentbfc06a997671134e7b747557251d2434f8cb8c2e (diff)
feat: compiler_kit: improvements on the assembler and linker.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'test')
-rw-r--r--test/test_samples/test_printf.ncpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/test/test_samples/test_printf.ncpp b/test/test_samples/test_printf.ncpp
index 60a6dbb..d18c818 100644
--- a/test/test_samples/test_printf.ncpp
+++ b/test/test_samples/test_printf.ncpp
@@ -1,5 +1,9 @@
let main()
{
- let ret := 100;
- return ret;
+ if (0x01 <= 0x100)
+ {
+ return 0x80;
+ }
+
+ return 0x0;
} \ No newline at end of file