PR c++/90548 - ICE with generic lambda and empty pack.
authorMarek Polacek <polacek@redhat.com>
Tue, 28 May 2019 14:00:29 +0000 (14:00 +0000)
committerMarek Polacek <mpolacek@gcc.gnu.org>
Tue, 28 May 2019 14:00:29 +0000 (14:00 +0000)
commitde1644122d0ad0a727042089083595cdfa99815f
tree967d3d3302cdf836d0b473a98e889899c67b7f38
parent997636716c5dde7d59d026726a6f58918069f122
PR c++/90548 - ICE with generic lambda and empty pack.

* pt.c (tsubst_copy_and_build): Handle pack expansion properly.

* g++.dg/cpp1y/lambda-generic-90548.C: New test.

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