From: Mark Mitchell Date: Tue, 24 Jun 2003 15:25:43 +0000 (+0000) Subject: re PR c++/5754 (g++ segfaults on compilation of template-enriched code) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=401f376dfd4f9c976cb452cc71bc4199cf9c8087;p=gcc.git 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 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 5b58274d0d1..9a4ca6940e8 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2003-06-24 Mark Mitchell + + PR c++/5754 + * g++.dg/parse/crash6.C: New test. + 2003-06-23 Roger Sayle * gcc.dg/builtins-24.c: New test case. diff --git a/gcc/testsuite/g++.dg/parse/crash6.C b/gcc/testsuite/g++.dg/parse/crash6.C new file mode 100644 index 00000000000..0cc5c84faf7 --- /dev/null +++ b/gcc/testsuite/g++.dg/parse/crash6.C @@ -0,0 +1,10 @@ +struct P {}; + +template +struct O +{ + struct I; +}; + +template +struct O::I::S : P {}; // { dg-error "" }