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
Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git]
/
clang
/
test
/
Analysis
/
symbol-simplification-symplify-results-in-dead-symbol.cpp
blob
d768e5230296987f7e2e8e59a733786d198e8743
1
// RUN: %clang_analyze_cc1 -analyzer-checker=core -verify %s
2
// expected-no-diagnostics
3
4
#define assert(cond) if (!(cond)) return
5
6
unsigned
a
,
b
;
7
void
f
(
unsigned
c
) {
8
assert
(
c
==
b
);
9
assert
((
c
|
a
) !=
a
);
10
assert
(
a
);
// no-crash
11
}