public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/43960] New: Template redeclaration with different number of parameters is tolerated
@ 2010-05-02 0:54 yuri at tsoft dot com
2010-05-02 14:44 ` [Bug c++/43960] " redi at gcc dot gnu dot org
0 siblings, 1 reply; 2+ messages in thread
From: yuri at tsoft dot com @ 2010-05-02 0:54 UTC (permalink / raw)
To: gcc-bugs
This testcase redeclares template H::F with different number of parameters.
This should be illegal, but gcc-4.5.0 passes it.
--- testcase ---
namespace H {
template<class A,typename T,bool K> struct F;
}
;
class Z {
template<typename T> friend struct H::F;
};
--
Summary: Template redeclaration with different number of
parameters is tolerated
Product: gcc
Version: 4.5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: yuri at tsoft dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43960
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug c++/43960] Template redeclaration with different number of parameters is tolerated
2010-05-02 0:54 [Bug c++/43960] New: Template redeclaration with different number of parameters is tolerated yuri at tsoft dot com
@ 2010-05-02 14:44 ` redi at gcc dot gnu dot org
0 siblings, 0 replies; 2+ messages in thread
From: redi at gcc dot gnu dot org @ 2010-05-02 14:44 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from redi at gcc dot gnu dot org 2010-05-02 14:44 -------
*** This bug has been marked as a duplicate of 39269 ***
--
redi at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |DUPLICATE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43960
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-05-02 14:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-05-02 0:54 [Bug c++/43960] New: Template redeclaration with different number of parameters is tolerated yuri at tsoft dot com
2010-05-02 14:44 ` [Bug c++/43960] " redi 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).