[LLVMbugs] [Bug 18033] New: Template instantiation failure with -cxx-abi microsoft

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Nov 22 12:43:03 PST 2013


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

            Bug ID: 18033
           Summary: Template instantiation 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,
                    rnk at google.com
    Classification: Unclassified

Given

template <class T>
class valarray {
  void bar();
};
extern template void valarray<int>::bar();

$ clang -cc1 test.ii -cxx-abi microsoft

test.ii:5:37: 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 valarray<int>::bar();

-- 
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/20131122/6805e34f/attachment.html>


More information about the llvm-bugs mailing list