re PR c++/4476 (g++ does not parse the definition of friend function within a class...
authorNathan Sidwell <nathan@codesourcery.com>
Fri, 12 Oct 2001 09:06:32 +0000 (09:06 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Fri, 12 Oct 2001 09:06:32 +0000 (09:06 +0000)
commite60505a59dad6aa8c17c43411e4998b209ddcd64
treee3c3c2dd24d4141001d42a1257179ad8d2814bbc
parenta77776205c58c490df1e24c406a57be963ffd815
re PR c++/4476 (g++ does not parse the definition of friend function within a class properly)

cp:
PR g++/4476
* typeck2.c (abstract_virtuals_error): Ignore incomplete classes.
testsuite:
PR g++/4476
* g++.dg/other/friend1.C: New test.

From-SVN: r46226
gcc/cp/ChangeLog
gcc/cp/typeck2.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/other/friend1.C [new file with mode: 0644]