blob: 60d4af5e70cc4f21af6b99396736d1816def9c15 [file] [log] [blame]
// { dg-do compile { target c++11 } }
template<typename>
struct s {
struct {
void __attribute__((common([] { struct d }))) g(); // { dg-error "expected|attribute" }
} f;
};
s<int> a {};