https://llvm.org/bugs/show_bug.cgi?id=23901
Bug ID: 23901
Summary: Crash on invalid on error suppressed by error-limit
Product: clang
Version: trunk
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P
Component: C++
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
Classification: Unclassified
unknown_type foo(unknown_type);
template <typename>
class Bar {};
extern template class Bar<int>;
template class Bar<int>;
Commandline: clang -cc1 -fsyntax-only -std=c++11 -ferror-limit 1 s.ii
Backtrace:
clang: llvm/tools/clang/include/clang/AST/DeclCXX.h:592: struct DefinitionData
&clang::CXXRecordDecl::data() const: Assertion `DD && "queried property of
class with no definition"' failed.
--
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