Richard Smith | 62f19e7 | 2016-06-25 00:15:56 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 -std=c++1z -verify %s |
2 | |||||
3 | struct X { | ||||
4 | static struct A a; | ||||
5 | static inline struct B b; // expected-error {{incomplete type}} expected-note {{forward decl}} | ||||
6 | static inline struct C c = {}; // expected-error {{incomplete type}} expected-note {{forward decl}} | ||||
7 | }; |