PR c++/79549 - C++17 ICE with non-type auto template parameter pack
authorJason Merrill <jason@redhat.com>
Fri, 17 Feb 2017 18:42:43 +0000 (13:42 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 17 Feb 2017 18:42:43 +0000 (13:42 -0500)
commitedf1849aa6b55871d799a0e8a574eb752f0b4c8a
tree97498c6d2a37503e994004d5f586097bf392108d
parentb10c7cd74ac9c17f0aa1cb5dbdb0e1227b421a90
PR c++/79549 - C++17 ICE with non-type auto template parameter pack

* pt.c (convert_template_argument): Just return an auto arg pack.
(tsubst_template_args): Don't tsubst an auto pack type.

From-SVN: r245544
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/g++.dg/cpp1z/nontype-auto8.C [new file with mode: 0644]