[Bug c++/80259] [6/7/8 Regression] ICE deleting friend function
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Dec 6 22:49:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80259
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Wed Dec 6 22:48:39 2017
New Revision: 255456
URL: https://gcc.gnu.org/viewcvs?rev=255456&root=gcc&view=rev
Log:
PR c++/80259
* decl2.c (grokfield): Diagnose = delete redefinition of a friend.
* g++.dg/cpp0x/pr80259.C: New test.
Added:
trunk/gcc/testsuite/g++.dg/cpp0x/pr80259.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/decl2.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list