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
[ELF] Avoid make in elf::writeARMCmseImportLib
[llvm-project.git]
/
clang
/
test
/
Analysis
/
constant-folding-crash.cpp
blob
156bfa5dda6a6700485b1e56d4943d245b755980
1
// RUN: %clang_analyze_cc1 -analyzer-checker=core -verify %s
2
// expected-no-diagnostics
3
4
namespace
bbi_77010
{
5
int
crash_NE
(
int
rhs
,
int
lhs
,
int
x
) {
6
int
band
=
lhs
&
rhs
;
7
if
(
0
<=
band
) {}
8
if
(
rhs
>
0
) {}
9
return
band
!=
x
;
// no-crash D112621
10
}
11
}
// namespace bbi_77010