re PR c++/5754 (g++ segfaults on compilation of template-enriched code)

PR c++/5754
	* g++.dg/parse/crash6.C: New test.

From-SVN: r68423
This commit is contained in:
Mark Mitchell 2003-06-24 15:25:43 +00:00 committed by Mark Mitchell
parent 71b460210a
commit 401f376dfd
2 changed files with 15 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2003-06-24 Mark Mitchell <mark@codesourcery.com>
PR c++/5754
* g++.dg/parse/crash6.C: New test.
2003-06-23 Roger Sayle <roger@eyesopen.com>
* gcc.dg/builtins-24.c: New test case.

View file

@ -0,0 +1,10 @@
struct P {};
template <typename >
struct O
{
struct I;
};
template <typename T>
struct O<T>::I::S : P {}; // { dg-error "" }