Files
llvm-6502/test/CFrontend/2003-08-18-StructAsValue.c
T
2003-08-18 21:44:10 +00:00

10 lines
124 B
C

typedef struct {
int op;
} event_t;
event_t test(int X) {
event_t foo = { 1 }, bar = { 2 };
return X ? foo : bar;
}