Commit 72aff31a by Volker Reichelt Committed by Volker Reichelt

re PR c++/19299 (ICE with volatile non-PODs pointers)

	PR c++/19299
	* g++.dg/inherit/volatile1.C: New test.

	PR c++/19440
	* g++.dg/template/dtor4.C: New test.

From-SVN: r95292
parent 145cf79b
2005-02-19 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
PR c++/19299
* g++.dg/inherit/volatile1.C: New test.
PR c++/19440
* g++.dg/template/dtor4.C: New test.
2005-02-19 Steven G. Kargl <kargls@comcast.net>
* gfortran.dg/int_1.f90: New test.
......
// PR c++/19299
// Origin: Andrew Pinski <pinskia@gcc.gnu.org>
// { dg-do compile }
struct V
{
virtual void foo() = 0;
};
void bar(V volatile* p)
{
p->V::~V();
}
// PR c++/19440
// Origin: Volker Reichelt <reichelt@igpm.rwth-aachen.de>
// { dg-do compile }
template<int> struct A
{
~A<0>(); // { dg-error "declaration" }
};
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