aboutsummaryrefslogtreecommitdiffstats
path: root/test/CFrontend/2003-08-18-StructAsValue.c
blob: 84a66ae3f9f44edab286a0180764981c6316b889 (plain)
1
2
3
4
5
6
7
8
9

typedef struct {
  int op;
} event_t;

event_t test(int X) {
  event_t foo, bar;
  return X ? foo : bar;
}