https://llvm.org/bugs/show_bug.cgi?id=26764

            Bug ID: 26764
           Summary: Assertion failed:
                    !SpecializedTemplate.is<SpecializedPartialSpecializati
                    on*>() && "Already set to a class template partial
                    specialization!"
           Product: new-bugs
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified

clang -c of these three lines


template <int, typename> class A;
template <typename T> class A<2, T>;
void fn1(A<2, double> &data_vectors) { data_vectors[0]; }


results in Assertion failed:
!SpecializedTemplate.is<SpecializedPartialSpecialization*>() && "Already set to
a class template partial specialization!", file
C:\llvm\tools\clang\include\clang/AST/DeclTemplate.h, line 1713

clang version 3.9.0 (trunk 262183)
Target: x86_64-pc-windows-msvc
Thread model: posix

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to