c++: Fix decltype of empty pack expansion of parm.
In unevaluated context, we only substitute a single PARM_DECL, not the entire chain, but the handling of an empty pack expansion was missing that check. PR c++/93140 * pt.c (tsubst_decl) [PARM_DECL]: Check cp_unevaluated_operand in handling of TREE_CHAIN for empty pack.
Showing
gcc/testsuite/g++.dg/cpp0x/variadic-parm1.C
0 → 100644
Please
register
or
sign in
to comment