// PR c++/101715 // { dg-do compile { target c++11 } } template struct S { }; template struct A { A& foo(A&&) noexcept((S::value)); A& assign(A&&) noexcept((S::value)); }; template A& A::foo(A&&) noexcept((S::value)) {}