summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp0x/variadic81.C
blob: cce61b316490da2fd28170a509c9feb88ca4a02a (plain)
1
2
3
4
5
6
7
8
9
10
11
// PR c++/33461
// { dg-options "-std=gnu++0x" }

template<typename> struct A;

template<typename... T> struct A<T*>  // { dg-error "not expanded|T|not used|T" }
{
  struct B;
};

A<void*> a; // { dg-error "incomplete" }