aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/cpp0x/vt-34753.C
blob: 496acaefa011baca2af9959e0680579ee197ce10 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// { dg-do compile { target c++11 } }
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;