From b295cd602d59888c373819ec3bcd63e12f008702 Mon Sep 17 00:00:00 2001 From: lemon Date: Sun, 4 Jun 2023 11:20:43 +0200 Subject: bugfix --- test.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'test.c') diff --git a/test.c b/test.c index 670c7c6..6d1063e 100644 --- a/test.c +++ b/test.c @@ -51,6 +51,13 @@ void silly(struct pair *p, struct quad *q) *q = quad(1,2,3,4); } +void test2(struct big *b) { + struct big s = *b; + extern void h(int, struct big, float); + s.x[5] += 2; + h(0, s, 0); +} + struct f2 { float f,g; }; struct f2 f2test(struct f2 *r) { return *r; -- cgit v1.2.3