[LLVMbugs] [Bug 7902] New: clang c++ crash with template template parameter with no parameters

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sat Aug 14 17:46:29 PDT 2010


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

           Summary: clang c++ crash with template template parameter with
                    no parameters
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Keywords: crash-on-invalid
          Severity: normal
          Priority: P
         Component: C++
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: sharparrow1 at yahoo.com
                CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com


Testcase:
template<template<> class C> class D;

Crashes with:
clang: /home/eli/llvmgbuild/include/llvm/ADT/SmallVector.h:155: T&
llvm::SmallVectorTemplateCommon<T>::operator[](unsigned int) [with T =
clang::OpaquePtr<0>]: Assertion `begin() + idx < end()' failed.

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list