reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
1 2 3 4 5 6 7 8 9 10 11 12 13 | // Verify that we don't warn about variables of internal-linkage type in // headers, as the use may be in another TU. namespace PR15558 { namespace { class A {}; } class B { static A a; static A b; static const int x = sizeof(b); }; } |