// PR c++/53473 // { dg-do compile { target c++11 } } template struct A { static constexpr T foo() noexcept { return 0; } }; template<> constexpr int A::foo() noexcept { return 0; }