Hi, tested x86_64-linux, committed to mainline.
Paolo. /////////////////////
2013-11-18 Paolo Carlini <paolo.carl...@oracle.com> PR c++/53473 * g++.dg/cpp0x/constexpr-noexcept7.C: New.
Index: g++.dg/cpp0x/constexpr-noexcept7.C =================================================================== --- g++.dg/cpp0x/constexpr-noexcept7.C (revision 0) +++ g++.dg/cpp0x/constexpr-noexcept7.C (working copy) @@ -0,0 +1,9 @@ +// PR c++/53473 +// { dg-do compile { target c++11 } } + +template<typename T> struct A +{ + static constexpr T foo() noexcept { return 0; } +}; + +template<> constexpr int A<int>::foo() noexcept { return 0; }