// PR c++/55652 // { dg-do compile { target c++11 } } template struct A { static const bool a = false; }; template > struct B { B () noexcept (A ::a) {} }; template struct C { X x; Y y; }; struct D { D () throw (int); }; C > c;