(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.dg/
cpp0x/
pr84705.C
// { dg-do compile { target c++11 } }
// { dg-options "" }

int a[]{a};  // { dg-error "invalid conversion" }

template<int>
struct b {
  __attribute__((c([] {
    struct {
      int a = static_cast<struct d>(a);  // { dg-error "invalid use of incomplete type" }
    } e;
  })));
};