xref: /minix3/external/bsd/llvm/dist/clang/test/SemaCXX/Inputs/warn-unused-variables.h (revision f4a2713ac843a11c696ec80c0a5e3e5d80b4d338)
1 // Verify that we don't warn about variables of internal-linkage type in
2 // headers, as the use may be in another TU.
3 namespace PR15558 {
4 namespace {
5 class A {};
6 }
7 
8 class B {
9   static A a;
10   static A b;
11   static const int x = sizeof(b);
12 };
13 }
14