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