2004-11-06 23:41:00 +01:00
|
|
|
// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
|
|
|
|
|
2003-08-18 22:19:18 +02:00
|
|
|
|
|
|
|
typedef struct {
|
|
|
|
int op;
|
|
|
|
} event_t;
|
|
|
|
|
|
|
|
event_t test(int X) {
|
2003-08-18 23:44:10 +02:00
|
|
|
event_t foo = { 1 }, bar = { 2 };
|
2003-08-18 22:19:18 +02:00
|
|
|
return X ? foo : bar;
|
|
|
|
}
|