http://llvm.org/bugs/show_bug.cgi?id=17019

            Bug ID: 17019
           Summary: findInstantiationOf: Assertion `isa<LabelDecl>(D) &&
                    "declaration not instantiated in this scope"' failed
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Frontend
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified

Created attachment 11110
  --> http://llvm.org/bugs/attachment.cgi?id=11110&action=edit
crash log, source code etc.

compile the attached ouch.cc with clang++ --std=c++11 and the following
assertion fails:

clang:
/home/j3parker/src/llvm/tools/clang/lib/Sema/SemaTemplateInstantiate.cpp:2758:
llvm::PointerUnion<clang::Decl*, llvm::SmallVector<clang::Decl*, 4u>*>*
clang::LocalInstantiationScope::findInstantiationOf(const clang::Decl*):
Assertion `isa<LabelDecl>(D) && "declaration not instantiated in this scope"'
failed

-- 
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