[LLVMbugs] [Bug 24206] I'll formed program with anonymous enum inside declaration compiles without diagnostic message
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Tue Jul 21 17:07:34 PDT 2015
https://llvm.org/bugs/show_bug.cgi?id=24206
Anders Granlund <anders.granlund.0 at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |INVALID
--- Comment #1 from Anders Granlund <anders.granlund.0 at gmail.com> ---
I just realised that this is not a bug, since the name x is introduced by the
decl-specifier-seq. Since the enum is not scoped we cannot disregard the
declaration of x on the basis of [dcl.dcl]/4 ( http://eel.is/c++draft/dcl.dcl#4
).
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20150722/ae6f61c8/attachment.html>
More information about the llvm-bugs
mailing list