https://llvm.org/bugs/show_bug.cgi?id=27069
Bug ID: 27069
Summary: Clang crash if try to compile class method with
__restrict__ and inside enum
Product: clang
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: -New Bugs
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Classification: Unclassified
Created attachment 16094
--> https://llvm.org/bugs/attachment.cgi?id=16094&action=edit
source file
Clang crashing with error:
clang-3.9: /mnt/src/llvm/llvm/tools/clang/lib/Sema/SemaOverload.cpp:11829:
clang::ExprResult clang::Sema::CreateOverloadedBinOp(clang::SourceLocation,
clang::BinaryOperatorKind, const clang::UnresolvedSetImpl&, clang::Expr*,
clang::Expr*): Assertion `Result.isInvalid() && "C++ binary operator
overloading is missing candidates!"' failed.
Command to build file: clang-3.9 -o test.o -x c++ test.cpp
Attached source file and generated .sh and .cpp
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs