[LLVMbugs] [Bug 18499] New: Nested Variadic Expansions in generic lambdas don't work
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Wed Jan 15 19:41:52 PST 2014
http://llvm.org/bugs/show_bug.cgi?id=18499
Bug ID: 18499
Summary: Nested Variadic Expansions in generic lambdas don't
work
Product: clang
Version: trunk
Hardware: PC
OS: Windows NT
Status: NEW
Severity: normal
Priority: P
Component: C++1y
Assignee: unassignedclangbugs at nondot.org
Reporter: faisalv at yahoo.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
This code results in a crash:
auto K = [](auto ... OuterArgs) {
vp([=](auto ... Is) {
decltype(OuterArgs) OA = OuterArgs;
return 0;
}(5)...);
return 0;
};
auto M = K('a', ' ', 1, " -- ", 3.14);
Assertion failed: !Unexpanded.empty() && "Unable to find unexpanded parameter
packs", file \llvm\tools\clang\lib\Sema\SemaTemplateVariadic.cpp, line 281
If this is prioritized as important enough to fix, a patch that is in the
works, can be moved up in my queue :)
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20140116/04638526/attachment.html>
More information about the llvm-bugs
mailing list