aboutsummaryrefslogtreecommitdiffstats
path: root/test/regression/struct2.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/regression/struct2.c')
-rw-r--r--test/regression/struct2.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/regression/struct2.c b/test/regression/struct2.c
new file mode 100644
index 00000000..10437e2d
--- /dev/null
+++ b/test/regression/struct2.c
@@ -0,0 +1,4 @@
+struct B;
+int f(struct B);
+struct B { double d; };
+int g() { struct B b; return f(b); }