From cc43a7b2f8e93059a936dcba1eb5a85fe8cf568a Mon Sep 17 00:00:00 2001 From: No Author Date: Thu, 20 Jun 2002 15:11:09 +0000 Subject: [PATCH] This commit was manufactured by cvs2svn to create branch 'gcc-3_1-branch'. From-SVN: r54836 --- gcc/testsuite/g++.dg/template/ttp4.C | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 gcc/testsuite/g++.dg/template/ttp4.C diff --git a/gcc/testsuite/g++.dg/template/ttp4.C b/gcc/testsuite/g++.dg/template/ttp4.C new file mode 100644 index 000000000000..4dff70103467 --- /dev/null +++ b/gcc/testsuite/g++.dg/template/ttp4.C @@ -0,0 +1,11 @@ +// { dg-do compile } +// Origin: Ewgenij Gawrilow + +// PR c++/6723 +// ICE when default template argument contains instantiation of +// template template parameter. + +template class Predicate, + bool _matches=Predicate::answer> +struct helper { }; -- 2.47.2