http://llvm.org/bugs/show_bug.cgi?id=15804
Bug ID: 15804
Summary: crash with __is_trivially_constructible for class
template
Product: clang
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: C++11
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
Classification: Unclassified
Created attachment 10393
--> http://llvm.org/bugs/attachment.cgi?id=10393&action=edit
clang output
The following snippet crashes Clang:
template<class Iterator>
struct X{
Iterator p;
X() : p(Iterator()){}
};
static_assert(__is_trivially_constructible(X<int*>), "...");
int main(){}
--
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