From 2ca24f83c35b253593b5aa8775d37923c8383149 Mon Sep 17 00:00:00 2001 From: lemon Date: Sat, 3 Jun 2023 21:51:28 +0200 Subject: abi lowering pass --- test.c | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'test.c') 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; +} + // -- cgit v1.2.3