aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.8/gcc/testsuite/g++.dg/cpp0x/variadic-explicit2.C
blob: 4a80745293a7716f7c54234da9645f2c8f79cf29 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// PR c++/56774
// { dg-require-effective-target c++11 }

template <class ... Args>
struct mytype {};

template <class T, class ... Args>
void something( mytype<T, Args...> )
{ }

int main()
{
  something<int, char, bool>( mytype<int, char, bool>() );
}