You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
8 lines
276 B
8 lines
276 B
7 months ago
|
// 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}}
|
||
|
};
|