aboutsummaryrefslogtreecommitdiffhomepage
path: root/test.c
diff options
context:
space:
mode:
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;
+}
+
//