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:
parent
71b460210a
commit
401f376dfd
2 changed files with 15 additions and 0 deletions
|
@ -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.
|
||||
|
|
10
gcc/testsuite/g++.dg/parse/crash6.C
Normal file
10
gcc/testsuite/g++.dg/parse/crash6.C
Normal file
|
@ -0,0 +1,10 @@
|
|||
struct P {};
|
||||
|
||||
template <typename >
|
||||
struct O
|
||||
{
|
||||
struct I;
|
||||
};
|
||||
|
||||
template <typename T>
|
||||
struct O<T>::I::S : P {}; // { dg-error "" }
|
Loading…
Add table
Reference in a new issue