// PR c++/87125 // { dg-do compile { target c++11 } } template struct S { template constexpr S (U) noexcept (T ()) {} }; struct V : S { using S::S; }; bool foo () { return noexcept (V (0)); }