aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/sret2.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/sret2.c')
-rw-r--r--test/CodeGen/sret2.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/CodeGen/sret2.c b/test/CodeGen/sret2.c
new file mode 100644
index 000000000000..c96ce4d5c4e0
--- /dev/null
+++ b/test/CodeGen/sret2.c
@@ -0,0 +1,9 @@
+// RUN: %clang_cc1 %s -emit-llvm -O0 -o - | grep sret | count 2
+
+struct abc {
+ long a;
+ long b;
+ long c;
+};
+
+struct abc foo2(){}