gcc/gcc/testsuite/g++.dg/cpp0x/variadic-explicit2.C
Jason Merrill 4185fb7350 re PR c++/56774 (G++ 4.8 reverses variadic template types during unpacking)
PR c++/56774
	PR c++/35722
	* pt.c (unify_pack_expansion): Fix indexing.

From-SVN: r197244
2013-03-29 14:59:09 -04:00

14 lines
254 B
C

// 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>() );
}