summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp0x/variadic171.C
blob: 1e268141d6ded3627624860277ec2f3c18e904d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// PR c++/81843
// { dg-do compile { target c++11 } }

template < typename > struct A;
template < typename, typename > struct B;
template < typename ... S > struct C
{
  template < typename > struct D {};
  template < typename ... T > struct D < A < B < S, T > ... > >;
};

C <>::D < A < B < int, int > > > c;