☰
Debian Codegraph
@
1:22.1.8-2
1:22.1.8-1
1:22.1.7-1
/
/
clang
/
test
/
SemaCXX
/
no-warn-unused-const-variables.cpp
☽
☼
clang/test/SemaCXX/no-warn-unused-const-variables.cpp
code
plain
raw
APACHE-2-LLVM-EXCEPTIONS
2003-2017 University of Illinois at Urbana-Champaign.
debian/copyright
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
}