summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/tiny.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/tiny.c b/tests/tiny.c
new file mode 100644
index 0000000..2e6643f
--- /dev/null
+++ b/tests/tiny.c
@@ -0,0 +1,9 @@
+// no dependencies no bss
+
+void entry(void) {
+ __asm__ (
+ "mov $1, %eax\n"
+ "mov $0, %ebx\n"
+ "int $0x80\n"
+ );
+}