summaryrefslogtreecommitdiff
path: root/tests/tiny.c
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2022-11-06 22:53:44 -0500
committerpommicket <pommicket@gmail.com>2022-11-06 22:53:44 -0500
commit2c068ecc21a972aa00f2871a4405e31547bf765a (patch)
tree94442139f33b5c33482fae6007298e6526dc5dce /tests/tiny.c
parent000f57e11cf3272951cd3463f5d8bb82bc8e3903 (diff)
overflow checking
Diffstat (limited to 'tests/tiny.c')
-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"
+ );
+}