diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2026-03-08 06:22:49 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2026-03-08 06:24:45 +0100 |
| commit | 9ff9bf184558f47f83c44196a05983a49f5bdf16 (patch) | |
| tree | 98b7a0dce73cf5a3a4674370c20c695aac6e3963 /test/test_samples | |
| parent | b64851f5c5654f9f28bd18b42155e5daea8c7e50 (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 'test/test_samples')
| -rw-r--r-- | test/test_samples/inner.nc | 11 | ||||
| -rw-r--r-- | test/test_samples/test_ostream.nc | 9 | ||||
| -rw-r--r-- | test/test_samples/test_printf.nc | 11 | ||||
| -rw-r--r-- | test/test_samples/test_struct.nc | 20 |
4 files changed, 0 insertions, 51 deletions
diff --git a/test/test_samples/inner.nc b/test/test_samples/inner.nc deleted file mode 100644 index 5d90b41..0000000 --- a/test/test_samples/inner.nc +++ /dev/null @@ -1,11 +0,0 @@ -extern exit; - -let main() -{ - let foo := 42; - - const ret_stub(): - foo := 0x10; - exit(foo); - return 0x0; -} diff --git a/test/test_samples/test_ostream.nc b/test/test_samples/test_ostream.nc deleted file mode 100644 index 0d0410b..0000000 --- a/test/test_samples/test_ostream.nc +++ /dev/null @@ -1,9 +0,0 @@ -#include <GenericsLibrary/ostream.nhh> - -let main() -{ - let io := 0; - io := ostream{}; - let arr := io.read(0, 0); - return arr; -}
\ No newline at end of file diff --git a/test/test_samples/test_printf.nc b/test/test_samples/test_printf.nc deleted file mode 100644 index c29bb05..0000000 --- a/test/test_samples/test_printf.nc +++ /dev/null @@ -1,11 +0,0 @@ -export main; - -let main() -{ - if (0x01 =: 0x01): - { - return 0; - } - - return 1; -}
\ No newline at end of file diff --git a/test/test_samples/test_struct.nc b/test/test_samples/test_struct.nc deleted file mode 100644 index 71a9492..0000000 --- a/test/test_samples/test_struct.nc +++ /dev/null @@ -1,20 +0,0 @@ -extern exit; -extern malloc; - -let construct_foo() -{ - let io := 0; - io := malloc(4); - - return io; -} - -let main() -{ - let io := 0x0; - io := construct_foo(); - - _ := exit(io); - - return first_number; -}
\ No newline at end of file |
