https://bugs.llvm.org/show_bug.cgi?id=41680
Bug ID: 41680
Summary: [accepts invalid] accepts invalid declared enum
Product: clang
Version: trunk
Hardware: PC
OS: Windows NT
Status: NEW
Severity: enhancement
Priority: P
Component: C++
Assignee: unassignedclangb...@nondot.org
Reporter: tiagomacar...@gmail.com
CC: blitzrak...@gmail.com, dgre...@apple.com,
erik.pilking...@gmail.com, llvm-bugs@lists.llvm.org,
richard-l...@metafoo.co.uk
I *think* the below is invalid, but after searching around a bit I am not 100%
sure.
https://godbolt.org/z/rK4EZp
http://eel.is/c++draft/dcl.enum
typedef enum A : int A;
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs