[LLVMbugs] [Bug 10024] New: Assertion hit when specializing a member function of a template
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Thu May 26 09:10:26 PDT 2011
http://llvm.org/bugs/show_bug.cgi?id=10024
Summary: Assertion hit when specializing a member function of a
template
Product: clang
Version: trunk
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P
Component: C++
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: akyrtzi at gmail.com
CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com
template <typename T>
struct Test{
template <typename U>
void get(U i) {}
};
template <typename T>
template <>
void Test<T>::get<double>(double i) {}
With r132104 I get:
Assertion failed: (isa<LabelDecl>(D) && "declaration not instantiated in this
scope"), function findInstantiationOf, file
/Users/argiris/proj/llvm/src/tools/clang/lib/Sema/SemaTemplateInstantiate.cpp,
line 2263.
--
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