[PR c++/84804] ICE with default arg, template friend & lambda
authorNathan Sidwell <nathan@acm.org>
Wed, 21 Mar 2018 15:58:00 +0000 (15:58 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Wed, 21 Mar 2018 15:58:00 +0000 (15:58 +0000)
commit5d011fcfcdcd04a94f74eca8643cb61f824774e3
treecd983671ff34862a8d72eb6859932f504b9d1c83
parent00821ad40e16fbc03c2127479df5d369242777d9
[PR c++/84804] ICE with default arg, template friend & lambda

https://gcc.gnu.org/ml/gcc-patches/2018-03/msg01108.html
PR c++/84804
* name-lookup.c (do_pushtag): Permit lambdas to be pushed into
complete classes.

PR c++/84804
* g++.dg/lookup/pr84804.C: New.

From-SVN: r258722
gcc/cp/ChangeLog
gcc/cp/name-lookup.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/lookup/pr84804.C [new file with mode: 0644]