From: Paolo Carlini Date: Thu, 6 May 2010 16:07:02 +0000 (+0000) Subject: re PR c++/40406 (ICE with broken template member declaration) X-Git-Tag: releases/gcc-4.6.0~7454 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1017e3e654a23d624ca6e4cb23ad98220ee59e71;p=thirdparty%2Fgcc.git re PR c++/40406 (ICE with broken template member declaration) 2010-05-06 Paolo Carlini PR c++/40406 * g++.dg/template/crash96.C: New. From-SVN: r159112 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 680c4554e4e2..21fec6678dba 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2010-05-06 Paolo Carlini + + PR c++/40406 + * g++.dg/template/crash96.C: New. + 2010-05-06 Jan Hubicka PR tree-optimization/43791 diff --git a/gcc/testsuite/g++.dg/template/crash96.C b/gcc/testsuite/g++.dg/template/crash96.C new file mode 100644 index 000000000000..5c2aa9954b17 --- /dev/null +++ b/gcc/testsuite/g++.dg/template/crash96.C @@ -0,0 +1,6 @@ +// PR c++/40406 + +template struct A +{ + template template void A::foo() {} // { dg-error "extra qualification" } +};