// { dg-do compile { target c++11 } } // { dg-options "" } union b; struct S { template void a() try { } catch (int () noexcept (({ union b a; true; }))) // { dg-error "'b a' has incomplete type" } { } }; template void S::a(); // { dg-message "required from here" }