diff options
author | Nathan Sidwell <nathan@codesourcery.com> | 2003-08-02 18:52:16 +0000 |
---|---|---|
committer | Nathan Sidwell <nathan@gcc.gnu.org> | 2003-08-02 18:52:16 +0000 |
commit | fd9aef9d180a377a8804a40a89284956f36f0016 (patch) | |
tree | 81299072d7ee64d2599788c3e47f00daaea546e5 /gcc/cppfiles.c | |
parent | 49634b3a45f7d9e65a521ac665014d6a81194dc4 (diff) | |
download | gcc-fd9aef9d180a377a8804a40a89284956f36f0016.zip gcc-fd9aef9d180a377a8804a40a89284956f36f0016.tar.gz gcc-fd9aef9d180a377a8804a40a89284956f36f0016.tar.bz2 |
re PR c++/9447 (using Base<T>::member does not work)
cp:
PR c++/9447
* cp-tree.def (USING_DECL): Document its type.
* class.c (pushclass): If we're entering a template, push any
dependent using decls it has.
* decl2.c (do_class_using_decl): Refactor. Type is NULL iff it is
a dependent scope.
* pt.c (tsubst_decl) <USING_DECL case>: Set type.
(tsubst): Remove USING_DECL checks.
(type_dependent_expression_p): Remove USING_DECL case.
* semantics.c (finish_member_declaration): A USING_DECL's type
indicates whether it is dependent.
testsuite:
PR c++/9447
* g++.dg/template/using7.C: New test.
From-SVN: r70107
Diffstat (limited to 'gcc/cppfiles.c')
0 files changed, 0 insertions, 0 deletions