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
[lld][WebAssembly] Reinstate mistakenly disabled test. NFC
[llvm-project.git]
/
clang
/
test
/
SemaCXX
/
no-warn-unused-const-variables.cpp
blob
c146ca04f832b3baa65c537826b04d358b7261db
1
// RUN: %clang_cc1 -fsyntax-only -Wunused-variable -Wno-unused-const-variable -verify %s
2
3
namespace
{
4
int
i
=
0
;
// expected-warning {{unused variable 'i'}}
5
const int
j
=
0
;;
6
}