re PR c++/80259 (ICE deleting friend function)
authorJakub Jelinek <jakub@redhat.com>
Wed, 6 Dec 2017 22:48:39 +0000 (23:48 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 6 Dec 2017 22:48:39 +0000 (23:48 +0100)
commit91c95da87e9a4944f145f988ecbc0926bf68e452
tree383e77ebc3159ea0e6c80956b6c19fd652bd4791
parentc25ac92773ac357a9dfb831ded2e071f04ec7735
re PR c++/80259 (ICE deleting friend function)

PR c++/80259
* decl2.c (grokfield): Diagnose = delete redefinition of a friend.

* g++.dg/cpp0x/pr80259.C: New test.

From-SVN: r255456
gcc/cp/ChangeLog
gcc/cp/decl2.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/pr80259.C [new file with mode: 0644]