https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84925

--- Comment #6 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Author: mpolacek
Date: Mon Mar 19 20:34:45 2018
New Revision: 258660

URL: https://gcc.gnu.org/viewcvs?rev=258660&root=gcc&view=rev
Log:
        PR c++/84925
        * pt.c (enclosing_instantiation_of): Check if fn is null.

        * g++.dg/cpp1z/lambda-__func__.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/cpp1z/lambda-__func__.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/pt.c
    trunk/gcc/testsuite/ChangeLog

Reply via email to