1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 12:12:47 +01:00
llvm-mirror/test/Regression/CFrontend/2002-04-09-StructRetVal.c

13 lines
181 B
C
Raw Normal View History

2004-11-06 23:41:00 +01:00
// 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();
}