1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 19:52:54 +01: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();
}