(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.dg/
cpp0x/
pr84606.C
// { 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 {};