blob: 5324cae3681006383862b4db5839b8d38422eb1a [file] [log] [blame]
Reid Spencerdcb925e2007-04-15 20:08:37 +00001// RUN: %llvmgcc %s -S -emit-llvm -O0 -o - | grep sret | wc -l | grep 5
Anton Korobeynikov779dff12007-04-01 22:03:04 +00002
3struct abc {
4 int a;
5 int b;
6 int c;
7};
8
9struct abc foo1(void);
10struct abc foo2();
11
12void bar() {
13 struct abc dummy1 = foo1();
14 struct abc dummy2 = foo2();
Reid Spencerdcb925e2007-04-15 20:08:37 +000015}