[llvm-bugs] [Bug 41680] New: [accepts invalid] accepts invalid declared enum
via llvm-bugs
llvm-bugs at lists.llvm.org
Tue Apr 30 20:51:20 PDT 2019
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: unassignedclangbugs at nondot.org
Reporter: tiagomacarios at gmail.com
CC: blitzrakete at gmail.com, dgregor at apple.com,
erik.pilkington at gmail.com, llvm-bugs at lists.llvm.org,
richard-llvm at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20190501/bfd6133a/attachment.html>
More information about the llvm-bugs
mailing list