PR c++/22136
commitbbb1e488ddd263ca6a4fa4f50ff5b545846e20ec
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 20 Jan 2006 03:07:58 +0000 (20 03:07 +0000)
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 20 Jan 2006 03:07:58 +0000 (20 03:07 +0000)
treece8c5bfa7c9da0c60a66b1fa7ea7ce89663aebd0
parent632ec4423a86716aebfe3f6d45889027bf7f8a49
PR c++/22136
* name-lookup.c (do_class_using_decl): Don't try to look up base
classes in templates with dependent base types.
PR c++/22136
* g++.dg/template/using10.C: New test.
* g++.dg/temlpate/using11.C: Likewise.
* g++.dg/inherit/using5.C: Tweak error messages.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110017 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/name-lookup.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/inherit/using5.C
gcc/testsuite/g++.dg/template/using10.C [new file with mode: 0644]
gcc/testsuite/g++.dg/template/using11.C [new file with mode: 0644]