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