// { dg-do compile { target c++11 } } // { dg-options "" } int a[]{a}; // { dg-error "invalid conversion" } template struct b { __attribute__((c([] { struct { int a = static_cast(a); // { dg-error "invalid use of incomplete type" } } e; }))); };