re PR c++/27713 (ICE on invalid operator new)
PR c++/27713 * g++.dg/template/new6.C: New test. From-SVN: r114208
This commit is contained in:
parent
1753331b5b
commit
944caafcb8
|
@ -1,3 +1,8 @@
|
||||||
|
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>
|
2006-05-29 Roger Sayle <roger@eyesopen.com>
|
||||||
|
|
||||||
PR tree-optimization/24964
|
PR tree-optimization/24964
|
||||||
|
|
|
@ -0,0 +1,7 @@
|
||||||
|
// PR c++/27713
|
||||||
|
// { dg-do compile }
|
||||||
|
|
||||||
|
struct A
|
||||||
|
{
|
||||||
|
template<int> friend void* operator new(__SIZE_TYPE__); // { dg-error "invalid template" }
|
||||||
|
};
|
Loading…
Reference in New Issue