xref: /minix3/external/bsd/llvm/dist/clang/test/CodeGen/sret.c (revision 433d6423c39e34ec4b79c950597bb2d236f886be)
1 // RUN: %clang_cc1 %s -emit-llvm -o - | grep sret | count 5
2 
3 struct abc {
4  long a;
5  long b;
6  long c;
7 };
8 
9 struct abc foo1(void);
10 struct abc foo2();
11 
12 void bar() {
13   struct abc dummy1 = foo1();
14   struct abc dummy2 = foo2();
15 }
16