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

Reply via email to