PR c++/53473
* g++.dg/cpp0x/constexpr-noexcept7.C: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@204967
138bc75d-0d04-0410-961f-
82ee72b054a4
+2013-11-18 Paolo Carlini <paolo.carlini@oracle.com>
+
+ PR c++/53473
+ * g++.dg/cpp0x/constexpr-noexcept7.C: New.
+
2013-11-18 Richard Biener <rguenther@suse.de>
PR tree-optimization/59125
--- /dev/null
+// 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; }