[LLVMbugs] [Bug 17973] New: Member template specialization failure with -cxx-abi microsoft

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sun Nov 17 21:45:09 PST 2013


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

            Bug ID: 17973
           Summary: Member template specialization failure with -cxx-abi
                    microsoft
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
          Assignee: unassignedclangbugs at nondot.org
          Reporter: rafael.espindola at gmail.com
                CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
    Classification: Unclassified

"clang -cc1 -cxx-abi microsoft " fails on.

class foo {
  template <typename T> void bar(T v);
};
extern template void foo::bar(const void *);

The error is
 error: explicit instantiation of 'bar' does not refer to a function template,
variable template, member function, member class, or static data member
extern template void foo::bar(const void *);

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20131118/fa237a92/attachment.html>


More information about the llvm-bugs mailing list