Commit 944caafc by Volker Reichelt Committed by Volker Reichelt

re PR c++/27713 (ICE on invalid operator new)

	PR c++/27713
	* g++.dg/template/new6.C: New test.

From-SVN: r114208
parent 1753331b
2006-05-29 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
PR c++/27713
* g++.dg/template/new6.C: New test.
2006-05-29 Roger Sayle <roger@eyesopen.com>
PR tree-optimization/24964
// PR c++/27713
// { dg-do compile }
struct A
{
template<int> friend void* operator new(__SIZE_TYPE__); // { dg-error "invalid template" }
};
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