PPC::B and PPC::BCC's target operand may be an immediate.
[llvm/msp430.git] / test / FrontendC / 2003-08-18-StructAsValue.c
blob649eadc4e45110a262ed5f67b35f3acf4971bc43
1 // RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
4 typedef struct {
5 int op;
6 } event_t;
8 event_t test(int X) {
9 event_t foo = { 1 }, bar = { 2 };
10 return X ? foo : bar;