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
This commit is contained in:
parent
139a78c724
commit
b1482d1512
|
@ -1,5 +1,9 @@
|
|||
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
|
||||
* g++.dg/parse/ctor4.C: New test.
|
||||
|
||||
|
|
|
@ -0,0 +1,10 @@
|
|||
// 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" }
|
Loading…
Reference in New Issue