1 // { dg-do compile { target c++11 } }
3 inline struct A; // { dg-error "1:'inline'" }
4 virtual struct B; // { dg-error "1:'virtual'" }
5 friend struct C; // { dg-error "1:'friend'" }
6 explicit struct D; // { dg-error "1:'explicit'" }
7 mutable struct E; // { dg-error "1:a storage class" }
8 const struct F; // { dg-error "1:'const'" }
9 volatile struct G; // { dg-error "1:'volatile'" }
10 __restrict struct H; // { dg-error "1:'__restrict'" }
11 __thread struct I; // { dg-error "1:'__thread'" }
12 typedef struct J; // { dg-warning "1:'typedef'" }
13 constexpr struct K; // { dg-error "1:'constexpr'" }