Commit a7a87177 by Jonathan Wakely Committed by Jonathan Wakely

re PR c++/47589 (internal compiler error: Segmentation fault)

2011-02-03  Jonathan Wakely  <jwakely.gcc@gmail.com>

	PR c++/47589
	* g++.dg/pr47589.C: New test.

From-SVN: r169815
parent a6e508f9
2011-02-03 Jonathan Wakely <jwakely.gcc@gmail.com>
PR c++/47589
* g++.dg/pr47589.C: New test.
2011-02-03 Dodji Seketeli <dodji@redhat.com>
PR c++/47398
......
// PR c++/47589
// { dg-do compile }
struct F
{
typedef void(*Cb)();
F(Cb);
};
struct C
{
template<class D> static void f();
};
template<class D>
struct TF : F
{
TF() : F(C::f<D>) { }
};
struct DTC : TF<DTC>
{
DTC() { }
};
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