summaryrefslogtreecommitdiffstats
path: root/test/FrontendC/2002-04-09-StructRetVal.c
blob: c655e4a4d05d5cb2298582755c50f3f6df30b7c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// 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();
}
OpenPOWER on IntegriCloud