llvm-for-llvmta/tools/clang/test/CodeGen/2002-04-09-StructRetVal.c

13 lines
174 B
C
Raw Normal View History

2022-04-25 13:02:35 +02:00
// RUN: %clang_cc1 -emit-llvm %s -o /dev/null
struct S {
int i;
short s1, s2;
};
struct S func_returning_struct(void);
void loop(void) {
func_returning_struct();
}