http://llvm.org/bugs/show_bug.cgi?id=12688
Bug #: 12688
Summary: Clang crashes on valid C++11 code when in C++98 mode
Product: clang
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: Frontend
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Classification: Unclassified
namespace name __attribute__ ((__visibility__ ("default")))
{
class foo
{
constexpr foo() throw() { }
};
}
This valid C++11 code will cause Clang to crash in C++98 mode. The source of
this crash appears to be at ParseCXXInlineMethods.cpp:372, a dyn_cast of
LM.Method which happens to be null.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- 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