aboutsummaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorlemon <lsof@mailbox.org>2023-06-14 15:05:43 +0200
committerlemon <lsof@mailbox.org>2023-06-14 15:05:43 +0200
commit782d4e9df0363ca9f64d8b92a3d6952d552f13a5 (patch)
tree8c71e107a8c0b54f53c2c94d053ad4cc1b7a441d /test
parent8d8cf6584bf4081b54cd91fcaa42578cbd794440 (diff)
add spilling for function calls, misc fixes
Diffstat (limited to 'test')
-rw-r--r--test/test.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/test.c b/test/test.c
index e429104..c44d1a0 100644
--- a/test/test.c
+++ b/test/test.c
@@ -47,16 +47,18 @@ struct quad quad(long x, long y, long z, long w) {
void silly(struct pair *p, struct quad *q)
{
- *p = pair(1,2);
+ *p = pair(-1,2);
*q = quad(1,2,3,4);
}
+#if 0
int test2(struct big *b) {
struct big s = *b;
extern int h(int,float, struct big, float);
s.x[5] += 2;
return h(0, -.5f, s, 0);
}
+#endif
struct f2 { float f,g; };
struct f2 f2test(struct f2 *r) {