diff options
author | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-06-29 01:27:17 +0000 |
---|---|---|
committer | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-06-29 01:27:17 +0000 |
commit | a589f7967ccc42f329a1627c541db03478c59eeb (patch) | |
tree | 5bc7479a0d5d63b578fd46abb4ba0da9d84411b2 /gcc/testsuite/g++.dg/template | |
parent | d0fb9d56515b7c0b372f02cb505a830e5b0599e2 (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.C | 11 |
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; |