diff options
author | Nathan Sidwell <nathan@codesourcery.com> | 2002-03-02 19:51:57 +0000 |
---|---|---|
committer | Nathan Sidwell <nathan@gcc.gnu.org> | 2002-03-02 19:51:57 +0000 |
commit | fd87b7a7099bc82b2542b169c592c0dfc997029e (patch) | |
tree | fed3e389d12d8ef87e63a352e8dfcd37659de11a /gcc/function.c | |
parent | 4f647d52ec4534ff30bdb0729217ffd8ee899010 (diff) | |
download | gcc-fd87b7a7099bc82b2542b169c592c0dfc997029e.zip gcc-fd87b7a7099bc82b2542b169c592c0dfc997029e.tar.gz gcc-fd87b7a7099bc82b2542b169c592c0dfc997029e.tar.bz2 |
re PR c++/775 (2.97 error declaring nested class a friend)
cp:
PR c++/775
* decl.c (lookup_tag): Only reject enum/class mismatch, not
class/union mismatch.
* parse.y (check_class_key): New function.
(structsp): Call it.Read from remote host gcc.gnu.org: Connection reset by peer
testsuite:
* g++.dg/other/classkey1.C: New test.
From-SVN: r50230
Diffstat (limited to 'gcc/function.c')
0 files changed, 0 insertions, 0 deletions