[LLVMbugs] [Bug 7464] New: clang c++ crash with extraneous "template<>"
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Wed Jun 23 12:05:25 PDT 2010
http://llvm.org/bugs/show_bug.cgi?id=7464
Summary: clang c++ crash with extraneous "template<>"
Product: clang
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
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<typename> struct A {};
template<> template<typename T> struct A<T*> {};
A<void*> a;
Crashes with:
clang: /home/eli/llvmgbuild/include/llvm/ADT/PointerUnion.h:99: T
llvm::PointerUnion<PT1, PT2>::get() const [with T = clang::QualifierInfo*, PT1
= clang::TypedefDecl*, PT2 = clang::QualifierInfo*]: Assertion `is<T>() &&
"Invalid accessor called"' failed.
Testcase from http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24314 .
--
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