summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp0x/vt-34606.C
blob: 467943354424be85b82e35742ee0783abc5dcca2 (plain)
1
2
3
4
5
6
7
8
9
// { dg-options "-std=c++0x" }
template<typename...> struct A;

template<typename T, typename... U> struct A<T, U> // { dg-error "parameter packs|U" }
{
  template<typename> struct B;

  template<typename X> struct B<X*> {};
};