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
[docs] Add LICENSE.txt to the root of the mono-repo
[llvm-project.git]
/
clang
/
test
/
Sema
/
warn-variable-not-needed.c
blob
19860ce8da4b2781fb26455cca5c799bfc4c3995
1
// RUN: %clang_cc1 -fsyntax-only -verify -Wall %s
2
// expected-no-diagnostics
3
4
static int
a
;
5
int
bar
(
void
) {
6
extern
int
a
;
7
return
a
;
8
}
9
static int
a
;