aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp0x/variadic82.C
blob: fb3ddb3c9b9cba3165393501d66b8abf756c13ea (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-bogus "cannot expand" "" { xfail *-*-* } }
{
  struct B;
};

A<void*> a; // { dg-bogus "incomplete type" "" { xfail *-*-* } }