public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/19965] New: Invalid member declaration diagnosed late
@ 2005-02-15 12:32 reichelt at gcc dot gnu dot org
2005-02-15 12:56 ` [Bug c++/19965] " pinskia at gcc dot gnu dot org
0 siblings, 1 reply; 2+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2005-02-15 12:32 UTC (permalink / raw)
To: gcc-bugs
The following invalid code snippet is accepted since 2.95.3:
==================
template<int> struct A
{
A : 2;
};
==================
It is correctly rejected if I instantiate the template.
--
Summary: Invalid member declaration diagnosed late
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Keywords: accepts-invalid, monitored
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: reichelt at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19965
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-07-24 0:16 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bug-19965-4@http.gcc.gnu.org/bugzilla/>
2021-07-24 0:16 ` [Bug c++/19965] Invalid member declaration diagnosed late pinskia at gcc dot gnu.org
2005-02-15 12:32 [Bug c++/19965] New: " reichelt at gcc dot gnu dot org
2005-02-15 12:56 ` [Bug c++/19965] " 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).