https://llvm.org/bugs/show_bug.cgi?id=31021
Bug ID: 31021
Summary: 1 << 63 not accepted for 64-bit enum value
Product: clang
Version: trunk
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P
Component: C++
Assignee: unassignedclangb...@nondot.org
Reporter: avasi...@gmx.net
CC: dgre...@apple.com, llvm-bugs@lists.llvm.org
Classification: Unclassified
The following code does not compile under any clang version, but compiles on
gcc and MSVC:
enum: long long { test = 1 << 63};
int main()
{}
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs