[LLVMbugs] [Bug 17648] New: Assertion failed: findInstantiationOf(const clang::Decl *): Assertion `isa<LabelDecl>(D) && "declaration not instantiated in this scope"' failed
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Mon Oct 21 19:55:30 PDT 2013
http://llvm.org/bugs/show_bug.cgi?id=17648
Bug ID: 17648
Summary: Assertion failed: findInstantiationOf(const
clang::Decl *): Assertion `isa<LabelDecl>(D) &&
"declaration not instantiated in this scope"' failed
Product: clang
Version: trunk
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P
Component: -New Bugs
Assignee: unassignedclangbugs at nondot.org
Reporter: j3parker at uwaterloo.ca
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
Created attachment 11403
--> http://llvm.org/bugs/attachment.cgi?id=11403&action=edit
source code, output etc.
The following code crashes clang++ with --std=c++1y:
int f(int x){return[](auto){x;}(x);}
See the attached zip for output etc.
--
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/20131022/f2549991/attachment.html>
More information about the llvm-bugs
mailing list