From 112b49ab7d2af6edea6bad97f2eea98e96ed5428 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Fri, 16 Jan 2026 22:54:33 +0100 Subject: feat: implement Mach-O linker and massive improvements on Assembler and Linkers. Signed-off-by: Amlal El Mahrouss --- test/test_samples/test_ostream.ncpp | 2 +- test/test_samples/test_printf.ncpp | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 test/test_samples/test_printf.ncpp (limited to 'test') 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 -- cgit v1.2.3