This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/13812] New: two stage name lookup wrong with using directive
- From: "nathan at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 Jan 2004 13:37:33 -0000
- Subject: [Bug c++/13812] New: two stage name lookup wrong with using directive
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
The test case is accepted, but should not be. Here is what edg says
"cm.cc", line 16: error: no instance of overloaded function "method" matches
the argument list
argument types are: (C *)
method(static_cast<TP *>(0));
^
detected during instantiation of
"void TestClass<TP>::test() [with TP=C]" at line 25
1 error detected in the compilation of "cm.cc".
--
Summary: two stage name lookup wrong with using directive
Product: gcc
Version: 3.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: nathan at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13812