Commit 58822455 by Paolo Carlini Committed by Paolo Carlini

re PR c++/53473 ([C++11] static constexpr noexcept cannot be specialized)

2013-11-18  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/53473
	* g++.dg/cpp0x/constexpr-noexcept7.C: New.

From-SVN: r204967
parent 1eadb567
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
......
// 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; }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment