reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
1 2 3 4 5 6 7 | // RUN: %clang_cc1 -std=c++1z -verify %s struct X { static struct A a; static inline struct B b; // expected-error {{incomplete type}} expected-note {{forward decl}} static inline struct C c = {}; // expected-error {{incomplete type}} expected-note {{forward decl}} }; |