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: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected]


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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to