http://llvm.org/bugs/show_bug.cgi?id=12031
Bug #: 12031
Summary: Assert with lambda
Product: clang
Version: trunk
Platform: PC
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P
Component: C++0x
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected]
Classification: Unclassified
With this simple test case I get an assert
~r150836
#include <functional>
void b(int i, std::function<void ()> f)
{
f();
}
void a()
{
const int v = 10000;
b(v, [](){});
}
--
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