summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp0x/vt-34753.C
blob: 15eaebebc8832428a7690e51fb31bc0447aa00f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// { dg-options "-std=c++0x" }
template<typename... T> struct A
{
  template<T> struct B {}; // { dg-error "not expanded|T" }
};

A<int>::B<0> b;

template<typename... T> struct B
{
  template<T> B(); // { dg-error "not expanded|T" }
};

B<int> c;