http://llvm.org/bugs/show_bug.cgi?id=19340
Bug ID: 19340
Summary: Crash when parsing specific template specialization
code
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 12344
--> http://llvm.org/bugs/attachment.cgi?id=12344&action=edit
Terminal output + two generated files
clang++ crashes, when it parses the following code:
template <typename T>
struct Helper {
template <std::size_t N>
static void func(const T* m) {
}
};
template <typename T>
void Helper<T>::func<2>() {
}
Regardless of the correctness of the code, I guess a crash should not occur.
--
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