upgrade this test
[oota-llvm.git] / test / CFrontend / 2006-10-30-ArrayCrash.c
1 // RUN: %llvmgcc -O3 -S -o - %s
2 // PR954, PR911
3
4 extern void foo();
5
6 struct S {
7   short        f1[3];
8   unsigned int f2 : 1;
9 };
10
11 void bar()
12 {
13   struct S *A;
14
15   if (A->f2)
16     foo();
17 }