repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[LLVM][IR] Use splat syntax when printing ConstantExpr based splats. (#116856)
[llvm-project.git]
/
clang
/
test
/
CodeGen
/
2006-10-30-ArrayCrash.c
blob
ad4498fec911be2ae1db3f51e9aabe485f400068
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
}