[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / SemaCXX / no-warn-unused-const-variables.cpp
blobc146ca04f832b3baa65c537826b04d358b7261db
1 // RUN: %clang_cc1 -fsyntax-only -Wunused-variable -Wno-unused-const-variable -verify %s
3 namespace {
4 int i = 0; // expected-warning {{unused variable 'i'}}
5 const int j = 0;;