This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/50169] "new struct X {{}};" incorrectly treated as an invalid struct-definition
- From: "ville.voutilainen at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 18 Aug 2017 17:27:05 +0000
- Subject: [Bug c++/50169] "new struct X {{}};" incorrectly treated as an invalid struct-definition
- Auto-submitted: auto-generated
- References: <bug-50169-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50169
Ville Voutilainen <ville.voutilainen at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2017-08-18
CC| |jason at redhat dot com
Ever confirmed|0 |1
--- Comment #5 from Ville Voutilainen <ville.voutilainen at gmail dot com> ---
This is DR 2141:
http://open-std.org/JTC1/SC22/WG21/docs/cwg_defects.html#2141
The original code is supposed to be valid, so confirming this as an actual bug.