public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/15865] New: Invalid variable definition through the constructor name
@ 2004-06-08  2:11 giovannibajo at libero dot it
  2004-06-08  2:29 ` [Bug c++/15865] " pinskia at gcc dot gnu dot org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: giovannibajo at libero dot it @ 2004-06-08  2:11 UTC (permalink / raw)
  To: gcc-bugs

The following code should be rejected but it is not:

----------------------------------
struct A {};
A::A a;
----------------------------------

and the same applies for the template case:

----------------------------------
template <int dim> struct X {};
X<0>::X<0> x;
----------------------------------

-- 
           Summary: Invalid variable definition through the constructor name
           Product: gcc
           Version: 3.5.0
            Status: UNCONFIRMED
          Keywords: accepts-invalid
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: giovannibajo at libero dot it
                CC: gcc-bugs at gcc dot gnu dot org


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


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

end of thread, other threads:[~2004-08-27  1:52 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-06-08  2:11 [Bug c++/15865] New: Invalid variable definition through the constructor name giovannibajo at libero dot it
2004-06-08  2:29 ` [Bug c++/15865] " pinskia at gcc dot gnu dot org
2004-06-29 17:20 ` giovannibajo at libero dot it
2004-08-17 17:11 ` reichelt at gcc dot gnu dot org
2004-08-27  1:09 ` giovannibajo at libero dot it
2004-08-27  1:11 ` pinskia at gcc dot gnu dot org
2004-08-27  1:21 ` [Bug c++/15865] [DR 147] " giovannibajo at libero dot it
2004-08-27  1:23 ` giovannibajo at libero dot it
2004-08-27  1:52 ` 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).