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

template < typename ... Ts > struct A 
{
  template < Ts ..., typename U > struct B {};
};

// should be, e.g.: A < int >::B < 0, int > e; 
A < int >::B < 0 > e;	   // { dg-error "wrong number of template arguments" }