public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/13812] New: two stage name lookup wrong with using directive
@ 2004-01-22 13:37 nathan at gcc dot gnu dot org
  2004-01-22 13:38 ` [Bug c++/13812] " nathan at gcc dot gnu dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: nathan at gcc dot gnu dot org @ 2004-01-22 13:37 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2004-07-29  5:07 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-01-22 13:37 [Bug c++/13812] New: two stage name lookup wrong with using directive nathan at gcc dot gnu dot org
2004-01-22 13:38 ` [Bug c++/13812] " nathan at gcc dot gnu dot org
2004-01-22 13:40 ` mattyt-bugzilla at tpg dot com dot au
2004-01-22 14:49 ` pinskia at gcc dot gnu dot org
2004-07-29  5:04 ` pinskia at gcc dot gnu dot org
2004-07-29  5:07 ` pinskia at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).