summaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2026-01-16 22:54:33 +0100
committerAmlal El Mahrouss <amlal@nekernel.org>2026-01-16 22:54:33 +0100
commit112b49ab7d2af6edea6bad97f2eea98e96ed5428 (patch)
tree80e7590c4851efafa6813f6f6adf483b1d5180de /test
parentd4d91d5ffe7b02478a5ed14adcdad931dec95fd1 (diff)
feat: implement Mach-O linker and massive improvements on Assembler and Linkers.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'test')
-rw-r--r--test/test_samples/test_ostream.ncpp2
-rw-r--r--test/test_samples/test_printf.ncpp5
2 files changed, 6 insertions, 1 deletions
diff --git a/test/test_samples/test_ostream.ncpp b/test/test_samples/test_ostream.ncpp
index 3caa2ab..0d0410b 100644
--- a/test/test_samples/test_ostream.ncpp
+++ b/test/test_samples/test_ostream.ncpp
@@ -5,5 +5,5 @@ let main()
let io := 0;
io := ostream{};
let arr := io.read(0, 0);
- return arr[0];
+ return arr;
} \ No newline at end of file
diff --git a/test/test_samples/test_printf.ncpp b/test/test_samples/test_printf.ncpp
new file mode 100644
index 0000000..60a6dbb
--- /dev/null
+++ b/test/test_samples/test_printf.ncpp
@@ -0,0 +1,5 @@
+let main()
+{
+ let ret := 100;
+ return ret;
+} \ No newline at end of file