summaryrefslogtreecommitdiffhomepage
path: root/tests/test_samples
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2025-12-04 15:13:22 +0100
committerAmlal El Mahrouss <amlal@nekernel.org>2025-12-04 15:17:53 +0100
commitcd3092186eb698a9ed175dacb6884f0404e7c062 (patch)
treecdc3e0e013f5efb0dfc8c450b706951d3a8e3597 /tests/test_samples
parent14ed88e58517890f5cce1bb9ab5cfb9e94bcfbf6 (diff)
chore! Breaking API changes for CompilerKit and DebuggerKit.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'tests/test_samples')
-rw-r--r--tests/test_samples/sample.asm4
-rw-r--r--tests/test_samples/sample.cc3
2 files changed, 7 insertions, 0 deletions
diff --git a/tests/test_samples/sample.asm b/tests/test_samples/sample.asm
new file mode 100644
index 0000000..82c0320
--- /dev/null
+++ b/tests/test_samples/sample.asm
@@ -0,0 +1,4 @@
+public_segment .code64 __ImageStart
+ ;; rax is the return value register.
+ mov rax, 5
+ ret \ No newline at end of file
diff --git a/tests/test_samples/sample.cc b/tests/test_samples/sample.cc
new file mode 100644
index 0000000..4cce7f6
--- /dev/null
+++ b/tests/test_samples/sample.cc
@@ -0,0 +1,3 @@
+int main() {
+ return 0;
+}