Commit b1482d15 by Volker Reichelt Committed by Volker Reichelt

re PR c++/11471 (ICE on illegal use of typedef'd member class)

	PR c++/11471
	PR c++/27102
	* g++.dg/template/crash48.C: New test.

From-SVN: r113382
parent 139a78c7
2006-04-29 Volker Reichelt <reichelt@igpm.rwth-aachen.de> 2006-04-29 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
PR c++/11471
PR c++/27102
* g++.dg/template/crash48.C: New test.
PR c++/27279 PR c++/27279
* g++.dg/parse/ctor4.C: New test. * g++.dg/parse/ctor4.C: New test.
// PR c++/11471
// Origin: <bagnara@cs.unipr.it>
// { dg-do compile }
template<typename T> struct A
{
typedef typename T::X X;
};
template<typename T> A<T>::X::X() {} // { dg-error "no type|invalid use" }
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