Sign in
llvm
/
clang
/
3b03365d5fddd6485581747d7a7ba1799d94241f
/
.
/
test
/
SemaCXX
/
no-warn-unused-const-variables.cpp
blob: c146ca04f832b3baa65c537826b04d358b7261db [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -fsyntax-only -Wunused-variable -Wno-unused-const-variable -verify %s
namespace
{
int
i
=
0
;
// expected-warning {{unused variable 'i'}}
const
int
j
=
0
;;
}