diff options
author | Nathan Sidwell <nathan@codesourcery.com> | 2001-01-09 11:37:07 +0000 |
---|---|---|
committer | Nathan Sidwell <nathan@gcc.gnu.org> | 2001-01-09 11:37:07 +0000 |
commit | 186c0fbe03c0b420d7164796a7e19688f1fa0ceb (patch) | |
tree | e130c908745dc3ab0bc23e553a26fbe7056fcfea /gcc/cppinit.c | |
parent | 10a855c7f4b3347a55198395ff12f8847f0c33c6 (diff) | |
download | gcc-186c0fbe03c0b420d7164796a7e19688f1fa0ceb.zip gcc-186c0fbe03c0b420d7164796a7e19688f1fa0ceb.tar.gz gcc-186c0fbe03c0b420d7164796a7e19688f1fa0ceb.tar.bz2 |
class.c (handle_using_decl): Reject using of constructor name of sourcing class.
cp:
* class.c (handle_using_decl): Reject using of constructor name
of sourcing class. Allow injecting of a method with same name as
nested class. Fixup error messages.
testsuite:
* g++.old_deja/g++.pt/using8.C: New test.
From-SVN: r38831
Diffstat (limited to 'gcc/cppinit.c')
0 files changed, 0 insertions, 0 deletions