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 }
7