public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/14428] New: incompatible template declarations accepted
@ 2004-03-04  9:36 heinlein at informatik dot uni-ulm dot de
  2004-03-04 13:47 ` [Bug c++/14428] " bangerth at dealii dot org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: heinlein at informatik dot uni-ulm dot de @ 2004-03-04  9:36 UTC (permalink / raw)
  To: gcc-bugs

I don't think that the following code is correct.
GCC accepts it, however.

template <int i> struct X;
template <int* p> struct X;

-- 
           Summary: incompatible template declarations accepted
           Product: gcc
           Version: 3.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: heinlein at informatik dot uni-ulm dot de
                CC: gcc-bugs at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14428


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

end of thread, other threads:[~2004-08-25 14:59 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-04  9:36 [Bug c++/14428] New: incompatible template declarations accepted heinlein at informatik dot uni-ulm dot de
2004-03-04 13:47 ` [Bug c++/14428] " bangerth at dealii dot org
2004-03-24 16:10 ` lerdsuwa at gcc dot gnu dot org
2004-03-26 10:12 ` lerdsuwa at gcc dot gnu dot org
2004-06-25 23:18 ` pinskia at gcc dot gnu dot org
2004-08-16 17:11 ` lerdsuwa at gcc dot gnu dot org
2004-08-22 15:23 ` lerdsuwa at gcc dot gnu dot org
2004-08-25 14:56 ` cvs-commit at gcc dot gnu dot org
2004-08-25 14:59 ` lerdsuwa 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).