PR c++/88312 - pack expansion of decltype.
authorJason Merrill <jason@redhat.com>
Fri, 11 Jan 2019 22:37:01 +0000 (17:37 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 11 Jan 2019 22:37:01 +0000 (17:37 -0500)
commit3ddf08b3b8ed5b0b0fe6c930eefb97228ae80caa
tree79ac403b7b8cb231d4148185b3ab27c1e2a4b55d
parentf43e0585fab95e5cc2efac9aa26a8b74eeffbd71
PR c++/88312 - pack expansion of decltype.

The standard doesn't really talk about an expression depending on the number
of elements of a pack, but that's definitely an important form of template
argument dependence.

* pt.c (instantiation_dependent_r): A template non-type parameter
pack is instantiation-dependent.

From-SVN: r267860
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/g++.dg/cpp0x/variadic-decltype1.C [new file with mode: 0644]