]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
This commit was manufactured by cvs2svn to create branch
authorNo Author <no-author@gcc.gnu.org>
Thu, 20 Jun 2002 15:11:09 +0000 (15:11 +0000)
committerNo Author <no-author@gcc.gnu.org>
Thu, 20 Jun 2002 15:11:09 +0000 (15:11 +0000)
'gcc-3_1-branch'.

From-SVN: r54836

gcc/testsuite/g++.dg/template/ttp4.C [new file with mode: 0644]

diff --git a/gcc/testsuite/g++.dg/template/ttp4.C b/gcc/testsuite/g++.dg/template/ttp4.C
new file mode 100644 (file)
index 0000000..4dff701
--- /dev/null
@@ -0,0 +1,11 @@
+// { dg-do compile }
+// Origin: Ewgenij Gawrilow <gawrilow@math.tu-berlin.de>
+
+// PR c++/6723
+// ICE when default template argument contains instantiation of
+// template template parameter.
+
+template <typename A, typename B,
+         template <typename,typename> class Predicate,
+         bool _matches=Predicate<A,B>::answer>
+struct helper { };