1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 19:42:54 +02:00
llvm-mirror/test/CFrontend/2006-10-30-ArrayCrash.c
2007-01-17 07:59:14 +00:00

18 lines
184 B
C

// RUN: %llvmgcc -O3 -S -o - %s
// PR954, PR911
extern void foo();
struct S {
short f1[3];
unsigned int f2 : 1;
};
void bar()
{
struct S *A;
if (A->f2)
foo();
}