aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/template
diff options
context:
space:
mode:
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>2006-06-29 01:27:17 +0000
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>2006-06-29 01:27:17 +0000
commita589f7967ccc42f329a1627c541db03478c59eeb (patch)
tree5bc7479a0d5d63b578fd46abb4ba0da9d84411b2 /gcc/testsuite/g++.dg/template
parentd0fb9d56515b7c0b372f02cb505a830e5b0599e2 (diff)
PR c++/27424
* pt.c (convert_template_argument): Pass all template arguments on to coerce_template_template_parms. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@115063 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/g++.dg/template')
-rw-r--r--gcc/testsuite/g++.dg/template/ttp20.C11
1 files changed, 11 insertions, 0 deletions
diff --git a/gcc/testsuite/g++.dg/template/ttp20.C b/gcc/testsuite/g++.dg/template/ttp20.C
new file mode 100644
index 00000000000..0d1784c9f82
--- /dev/null
+++ b/gcc/testsuite/g++.dg/template/ttp20.C
@@ -0,0 +1,11 @@
+// PR c++/27424
+// Bug: failing to substitute the 'int' into C
+
+template<typename T> struct A
+{
+ template<template<T> class> struct B {};
+ template<T> struct C;
+ B<C> b;
+};
+
+A<int> a;