re PR c++/68396 (function auto-deduced return types get incorrectly classified as...
authorRyan Burn <contact@rnburn.com>
Thu, 19 Nov 2015 18:25:38 +0000 (18:25 +0000)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 19 Nov 2015 18:25:38 +0000 (13:25 -0500)
commit0398c18360a7b4a4024b1cc0fee3e3fcb9293e09
tree5545a521a76bfa949a8dad755acf2c5c815513e2
parent498cb3c3200161be080af98733be859294cd439b
re PR c++/68396 (function auto-deduced return types get incorrectly classified as parameter packs)

PR c++/68396

2015-11-19  Ryan Burn  <contact@rnburn.com>

* pt.c (find_parameter_packs_r) [DECLTYPE_TYPE]: When traversing
the DECLTYPE_TYPE_EXPR, set type_pack_expansion_p to false.

From-SVN: r230620
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/g++.dg/cpp1y/pr68396.C [new file with mode: 0644]