8sa1-gcc/gcc/testsuite/g++.dg/cpp0x/variadic-nested2.C
Jason Merrill a651578441 PR c++/84839 - ICE with decltype of parameter pack.
* pt.c (tsubst_pack_expansion): Set cp_unevaluated_operand while
	instantiating dummy parms.

From-SVN: r258500
2018-03-13 14:57:10 -04:00

10 lines
170 B
C

// PR c++/84839
// { dg-do compile { target c++11 } }
template<typename... T>
struct S {
using fptr = void(*)(T... x, decltype(x)... y);
};
using F = S<int>::fptr;