* pt.c (argument_pack_element_is_expansion_p): A decl pack is an
expansion.
From-SVN: r225494
+2015-07-06 Jason Merrill <jason@redhat.com>
+
+ * pt.c (argument_pack_element_is_expansion_p): A decl pack is an
+ expansion.
+
2015-07-02 Jason Merrill <jason@redhat.com>
PR c++/66743
if (i >= TREE_VEC_LENGTH (vec))
return 0;
tree elt = TREE_VEC_ELT (vec, i);
+ if (DECL_P (elt))
+ /* A decl pack is itself an expansion. */
+ elt = TREE_TYPE (elt);
if (!PACK_EXPANSION_P (elt))
return 0;
if (PACK_EXPANSION_EXTRA_ARGS (elt))