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: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to