[LLVMbugs] [Bug 21826] New: [fuzz] Assertion `!Unexpanded.empty() && "Unable to find unexpanded parameter packs"' failed.
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Wed Dec 10 13:06:25 PST 2014
http://llvm.org/bugs/show_bug.cgi?id=21826
Bug ID: 21826
Summary: [fuzz] Assertion `!Unexpanded.empty() && "Unable to
find unexpanded parameter packs"' failed.
Product: clang
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: -New Bugs
Assignee: unassignedclangbugs at nondot.org
Reporter: sami.liedes at iki.fi
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
Created attachment 13467
--> http://llvm.org/bugs/attachment.cgi?id=13467&action=edit
test case
Fuzzing discovered that the attached test case, when given as input to
clang -fno-crash-diagnostics -std=c++11 -xc++ -c -emit-llvm
causes this assertion failure:
unexpanded-parm-pack.cpp:1:24: error: expected ']'
template <int... N> a[N
^
unexpanded-parm-pack.cpp:1:22: note: to match this '['
template <int... N> a[N
^
unexpanded-parm-pack.cpp:1:21: error: C++ requires a type specifier for all
declarations
template <int... N> a[N
^
clang-3.6: tools/clang/lib/Sema/SemaTemplateVariadic.cpp:281: bool
clang::Sema::DiagnoseUnexpandedParameterPack(clang::SourceLocation,
clang::TypeSourceInfo *, clang::Sema::UnexpandedParameterPackContext):
Assertion `!Unexpanded.empty() && "Unable to find unexpanded parameter packs"'
failed.
--
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/20141210/a4a473d4/attachment.html>
More information about the llvm-bugs
mailing list