PR c++/91230 - wrong error with __PRETTY_FUNCTION__ and generic lambda.
authorMarek Polacek <polacek@redhat.com>
Fri, 2 Aug 2019 13:26:06 +0000 (13:26 +0000)
committerMarek Polacek <mpolacek@gcc.gnu.org>
Fri, 2 Aug 2019 13:26:06 +0000 (13:26 +0000)
commitb34fd35b83f8e93d87de4f865d86495a44c93498
tree11eb76faa3df9885fc7f12003566bd15d6d65a8a
parent0c60e39e2574c5a315ac5c94c19642331cd06504
PR c++/91230 - wrong error with __PRETTY_FUNCTION__ and generic lambda.

* pt.c (value_dependent_expression_p): Consider __PRETTY_FUNCTION__
inside a template function value-dependent.

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

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