llvm-mirror/test/CFrontend/2002-04-09-StructRetVal.c
2007-01-17 07:59:14 +00:00

13 lines
181 B
C

// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
struct S {
int i;
short s1, s2;
};
struct S func_returning_struct(void);
void loop(void) {
func_returning_struct();
}