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

            Bug ID: 23667
           Summary: Clang fails to dllexport explicit class template
                    specialization definition with previous explicit
                    template specialization declaration
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]
    Classification: Unclassified

For example:

template <typename T> struct S { void f() {} };
extern template struct S<int>;
template struct __declspec(dllexport) S<int>;

MSVC and MinGW export S<int> here, but Clang doesn't.

-- 
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