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

template<typename... T> struct B : T...
{
  B() : T(x)... {} // { dg-error "not declared" }
};

B<A> b;