[LLVMbugs] [Bug 18530] New: Crash in variable template code when performing error recovery

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sat Jan 18 01:04:57 PST 2014


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

            Bug ID: 18530
           Summary: Crash in variable template code when performing error
                    recovery
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++1y
          Assignee: unassignedclangbugs at nondot.org
          Reporter: david.majnemer at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

consider:
template <typename T>                                                           
struct __misspelled_attribute A {};
A<int> b;

this gets us:
lib/AST/Decl.cpp:1519: void
clang::DeclaratorDecl::setTemplateParameterListsInfo(clang::ASTContext &,
unsigned int, clang::TemplateParameterList **): Assertion `NumTPLists > 0'
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/20140118/2f3f8e26/attachment.html>


More information about the llvm-bugs mailing list