1f4a2713aSLionel Sambuc // RUN: %clang_cc1 %s -emit-llvm -o - | grep sret | count 5 2f4a2713aSLionel Sambuc 3f4a2713aSLionel Sambuc struct abc { 4f4a2713aSLionel Sambuc long a; 5f4a2713aSLionel Sambuc long b; 6f4a2713aSLionel Sambuc long c; 7*0a6a1f1dSLionel Sambuc long d; 8*0a6a1f1dSLionel Sambuc long e; 9f4a2713aSLionel Sambuc }; 10f4a2713aSLionel Sambuc 11f4a2713aSLionel Sambuc struct abc foo1(void); 12f4a2713aSLionel Sambuc struct abc foo2(); 13f4a2713aSLionel Sambuc bar()14f4a2713aSLionel Sambucvoid bar() { 15f4a2713aSLionel Sambuc struct abc dummy1 = foo1(); 16f4a2713aSLionel Sambuc struct abc dummy2 = foo2(); 17f4a2713aSLionel Sambuc } 18