1 // PR c++/54440
2 // { dg-do compile { target c++11 } }
3 
4 template <class...T> struct A
5 {
6   template <template <T> class... TP, class U> struct B { };
7 };
8 
9 template <int I> struct C { };
10 template <char C> struct D { };
11 
12 A<int,char>::B<C,D,float> b;
13