[LLVMbugs] [Bug 12170] anonymous union can not be defined in a type specifier

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Mar 2 18:42:22 PST 2012


http://llvm.org/bugs/show_bug.cgi?id=12170

Eli Friedman <sharparrow1 at yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |sharparrow1 at yahoo.com
         Resolution|                            |INVALID

--- Comment #1 from Eli Friedman <sharparrow1 at yahoo.com> 2012-03-02 20:42:22 CST ---
This is not allowed per [dcl.type] in the C++ standard.  It looks like an
accident that gcc accepts it.

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list