aboutsummaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorlemon <lsof@mailbox.org>2023-06-17 23:26:45 +0200
committerlemon <lsof@mailbox.org>2023-06-17 23:26:45 +0200
commit962ad175aee634274b408ead38b13e6bc90e2fe7 (patch)
treecfda733adf56ed12e829f594e0b6d66f0a1a7a70 /test
parentec28e9057e84b92acabb7ebf9122af59738917ad (diff)
basic ELF output
Diffstat (limited to 'test')
-rw-r--r--test/test2.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/test2.c b/test/test2.c
index 7d39164..fec9b14 100644
--- a/test/test2.c
+++ b/test/test2.c
@@ -15,6 +15,9 @@ v2d add(v2d a, v2d b)
}
short s(int a, int b) {
+ extern h();
+ h(a +a * a);
+ ++a;
return a + b;
}