teak-llvm/clang/test/CodeGen/sret2.c
Jakob Stoklund Olesen 6e1aaf27c1 Puny 24-byte structs are returned by value on SPARC.
Pad these structs up so they are sret-returned even on that
architecture.

llvm-svn: 199188
2014-01-14 06:19:26 +00:00

12 lines
144 B
C

// RUN: %clang_cc1 %s -emit-llvm -o - | grep sret | count 2
struct abc {
long a;
long b;
long c;
long d;
long e;
};
struct abc foo2(){}