variadic-parm1.C
187 Bytes
-
c++: Fix decltype of empty pack expansion of parm. · f6bef097
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.
Jason Merrill committed