re PR c++/2184 (using declarations for classes in function templates)
authorNathan Sidwell <nathan@codesourcery.com>
Thu, 24 May 2001 12:00:52 +0000 (12:00 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Thu, 24 May 2001 12:00:52 +0000 (12:00 +0000)
commit6f56d9253f78d537e2af74895512188743519ff7
tree42a9ab80111c2cda4ddfaf72596e9b69a1a0fedc
parent8948cb39720f8843baf5db391eceef189ddf7ec3
re PR c++/2184 (using declarations for classes in function templates)

cp:
PR c++/2184
* decl2.c (do_local_using_decl): Push the decls, even in a
template.
testsuite:
* g++.old-deja/g++.pt/using1.C: Adjust.
* g++.old-deja/g++.pt/using2.C: New test.

From-SVN: r42526
gcc/cp/ChangeLog
gcc/cp/decl2.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.old-deja/g++.pt/using1.C
gcc/testsuite/g++.old-deja/g++.pt/using2.C [new file with mode: 0644]