PPC::B and PPC::BCC's target operand may be an immediate.
[llvm/msp430.git] / test / FrontendC / 2006-10-30-ArrayCrash.c
blob09464dd3a067ad60894b0742a6314b86f78d0987
1 // RUN: %llvmgcc -O3 -S -o - %s
2 // PR954, PR911
4 extern void foo();
6 struct S {
7 short f1[3];
8 unsigned int f2 : 1;
9 };
11 void bar()
13 struct S *A;
15 if (A->f2)
16 foo();