blob: ed1f9a44ef144e654dc824acfcd3e22e2dd86247 [file] [log] [blame]
Eric Christopher3883e662011-07-26 22:17:02 +00001// RUN: %clang_cc1 %s -emit-llvm -O0 -o - | grep sret | count 5
2
3struct abc {
4 long a;
5 long b;
6 long c;
7};
8
9struct abc foo1(void);
10struct abc foo2();
11
12void bar() {
13 struct abc dummy1 = foo1();
14 struct abc dummy2 = foo2();
15}