[Bug c++/13812] New: two stage name lookup wrong with using directive
nathan at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Jan 22 13:37:00 GMT 2004
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
More information about the Gcc-bugs
mailing list