http://llvm.org/bugs/show_bug.cgi?id=15360
Bug ID: 15360
Summary: Crash in CodeGen for instantiating templated type with
nullptr as function argument
Product: clang
Version: trunk
Hardware: Macintosh
OS: MacOS X
Status: NEW
Severity: normal
Priority: P
Component: C++11
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
Classification: Unclassified
Compiling the following causes a crash. Tested with 3.2 and trunk on OS X and
Linux.
template<class C, void fn(C)>
struct type
{
virtual void f(int arg)
{
fn(arg);
}
};
type<int, nullptr> g;
--
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