aboutsummaryrefslogtreecommitdiffhomepage
path: root/test.c
diff options
context:
space:
mode:
authorlemon <lsof@mailbox.org>2023-06-03 21:51:28 +0200
committerlemon <lsof@mailbox.org>2023-06-04 10:20:19 +0200
commit2ca24f83c35b253593b5aa8775d37923c8383149 (patch)
tree09fc86a228b81ac574233a922758953c4c460861 /test.c
parent65ace14e184807df026e985e073b3b5c5aaf576c (diff)
abi lowering pass
Diffstat (limited to 'test.c')
-rw-r--r--test.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/test.c b/test.c
index 333114a..9638de2 100644
--- a/test.c
+++ b/test.c
@@ -45,5 +45,16 @@ struct quad quad(long x, long y, long z, long w) {
return q;
}
+void silly(struct pair *p, struct quad *q)
+{
+ *p = pair(1,2);
+ *q = quad(1,2,3,4);
+}
+
+struct f2 { float f,g; };
+struct f2 f2test(struct f2 *r) {
+ return *r;
+}
+
//