☰
Debian Codegraph
@
1:22.1.8-2
1:22.1.8-1
1:22.1.7-1
/
/
clang
/
test
/
CodeGen
/
2006-10-30-ArrayCrash.c
☽
☼
clang/test/CodeGen/2006-10-30-ArrayCrash.c
code
plain
raw
APACHE-2-LLVM-EXCEPTIONS
2003-2017 University of Illinois at Urbana-Champaign.
debian/copyright
1
// RUN: %clang_cc1 -O3 -emit-llvm -o - %s
2
// PR954, PR911
3
4
extern void foo(void);
5
6
struct S {
7
short f1[3];
8
unsigned int f2 : 1;
9
};
10
11
void bar(void)
12
{
13
struct S *A;
14
15
if (A->f2)
16
foo();
17
}