decl.c (grokdeclarator): Improve diagnostic for friend declarations of class members.
authorVolker Reichelt <reichelt@igpm.rwth-aachen.de>
Fri, 23 Dec 2005 17:10:37 +0000 (17:10 +0000)
committerVolker Reichelt <reichelt@gcc.gnu.org>
Fri, 23 Dec 2005 17:10:37 +0000 (17:10 +0000)
commit59e7c84ca11369f80c0b30c330544678a41aa54c
tree5db7ad6fdc64c09a233ef4189f70daca1d224e18
parent41e8659ef1cd6f069608490882ddcc179634283e
decl.c (grokdeclarator): Improve diagnostic for friend declarations of class members.

* decl.c (grokdeclarator): Improve diagnostic for friend
declarations of class members.

* g++.dg/other/friend4.C: New test.

From-SVN: r109017
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/other/friend4.C [new file with mode: 0644]