summaryrefslogtreecommitdiff
path: root/clang/test/CodeGen/2002-04-09-StructRetVal.c
blob: f043ab721095f5b4ccc55d2df00d2b65eb344f37 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// 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();
}