[Bug c++/79519] [5/6 Regression] ICE deleting template friend function

jason at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Apr 12 19:24:00 GMT 2017


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

--- Comment #5 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Wed Apr 12 19:23:23 2017
New Revision: 246892

URL: https://gcc.gnu.org/viewcvs?rev=246892&root=gcc&view=rev
Log:
        PR c++/79519 - ICE with deleted template friend.

        * decl.c (grokdeclarator): Complain about misplaced function
        definition using =, as well.

Added:
    branches/gcc-6-branch/gcc/testsuite/g++.dg/cpp0x/deleted13.C
Modified:
    branches/gcc-6-branch/gcc/cp/ChangeLog
    branches/gcc-6-branch/gcc/cp/decl.c


More information about the Gcc-bugs mailing list