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
/
redecl.c
blob
f5771a731779c59f9d488511b4be7407dd341be8
1
// RUN: %clang_analyze_cc1 -analyzer-checker=core,debug.ExprInspection -verify %s
2
// XFAIL: *
3
4
void
clang_analyzer_eval
(
int
);
5
6
extern
const int
extInt
;
7
8
int
main
()
9
{
10
clang_analyzer_eval
(
extInt
==
2
);
// expected-warning{{TRUE}}
11
}
12
13
extern
const int
extInt
=
2
;