aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/test3.c
diff options
context:
space:
mode:
authorlemon <lsof@mailbox.org>2023-06-06 15:08:46 +0200
committerlemon <lsof@mailbox.org>2023-06-06 15:08:46 +0200
commit86625b1166bd39e28b4dd4995ed6cd88c0bdde7e (patch)
tree2bfd67ddc7e3b4bb4c4a3d951dfc80fac7c4bad3 /test/test3.c
parent3388975ee3a0814e9c95863035ab0d122174c549 (diff)
codegen skeleton
Diffstat (limited to 'test/test3.c')
-rw-r--r--test/test3.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/test3.c b/test/test3.c
new file mode 100644
index 0000000..6940d1b
--- /dev/null
+++ b/test/test3.c
@@ -0,0 +1,9 @@
+/*
+int test1(int a, int b, int c) {
+ return a && b ? c - b ? c - b : a+b : 7;
+}
+*/
+
+int t(int *p, int i) {
+ return p[i];
+}