https://llvm.org/bugs/show_bug.cgi?id=24206
Bug ID: 24206
Summary: I'll formed program with anonymous enum inside
declaration compiles without diagnostic message
Product: clang
Version: trunk
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P
Component: C++
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
Classification: Unclassified
Consider the following program.
enum {x};
int main() {}
It is ill-formed by [dcl.dcl]/5 in the c++ standard (See
http://eel.is/c++draft/dcl.dcl#5 ). I did expect to get a diagnostic message,
but got none.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs