Commit cd8c5875 by Paolo Carlini Committed by Paolo Carlini

re PR c++/52216 ([C++11] Wrong exception deduction for some forms of placement new)

2013-05-25  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/52216
	* g++.dg/cpp0x/new1.C: New.

From-SVN: r199326
parent 8e90de43
2013-05-25 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/52216
* g++.dg/cpp0x/new1.C: New.
2013-05-25 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/25666
* g++.dg/parse/dtor16.C: New.
* g++.dg/parse/dtor6.C: Adjust.
......
// PR c++/52216
// { dg-require-effective-target c++11 }
#include <new>
int n;
static_assert(!noexcept(::new (std::nothrow) int[n]), "");
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