aboutsummaryrefslogtreecommitdiff
path: root/tests/struct-return-1.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/struct-return-1.c')
-rw-r--r--tests/struct-return-1.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/struct-return-1.c b/tests/struct-return-1.c
new file mode 100644
index 0000000..e1631a8
--- /dev/null
+++ b/tests/struct-return-1.c
@@ -0,0 +1,3 @@
+struct s {int x;} f(void) {
+ return (struct s){2};
+}