🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.bug
Article #2518

gcc and g++ both accept strange declaration!

#2518
From: "Douglas C. Schmidt"
Date: Sun, 09 Apr 1989 08:40
6 lines
639 bytes
I don't know whether the following is valid ANSI-C, but it sure
*looks* weird.  Both G++ and GCC 1.34 grok it without complain.

----------------------------------------
struct foo struct bar struct foobar struct foo_bar_foobar;
Technical Details
Message-ID: <8904090140.aa00533@PARIS.ICS.UCI.EDU>
Path: arc1-ca.pugleaf.net!utzoo!telly!attcan!uunet!tut.cis.ohio-state.edu!GLACIER.ICS.UCI.EDU!schmidt

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!telly!attcan!uunet!tut.cis.ohio-state.edu!GLACIER.ICS.UCI.EDU!schmidt
From: schmidt@GLACIER.ICS.UCI.EDU ("Douglas C. Schmidt")
Newsgroups: gnu.gcc.bug
Subject: gcc and g++ both accept strange declaration!
Message-ID: <8904090140.aa00533@PARIS.ICS.UCI.EDU>
Date: 9 Apr 89 08:40:09 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 6