Commit 5782c29d by Volker Reichelt Committed by Volker Reichelt

re PR c++/13744 (ICE when using implicit copy constructor for struct defined in template function)

	PR c++/13744
	* g++.dg/inherit/local3.C: New test.

From-SVN: r98082
parent 367e8319
2005-04-13 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
PR c++/13744
* g++.dg/inherit/local3.C: New test.
2005-04-12 Jeff Law <law@redhat.com> 2005-04-12 Jeff Law <law@redhat.com>
* gcc.dg/tree-ssa/20050412-1.c: New test. * gcc.dg/tree-ssa/20050412-1.c: New test.
......
// PR c++/13744 (ice-on-valid-code)
// Origin: Thom Harp <thomharp@charter.net>
// { dg-do compile }
template<int> void foo()
{
struct A
{
virtual void bar() { A a(*this); }
} a;
}
template void foo<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