http://llvm.org/bugs/show_bug.cgi?id=21406
Bug ID: 21406
Summary: clang-cl rejects dllimport on explicit member template
specialization
Product: clang
Version: unspecified
Hardware: PC
OS: Windows 2000
Status: NEW
Severity: normal
Priority: P
Component: -New Bugs
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Classification: Unclassified
Consider:
struct S {
template <typename T> void def() {}
};
struct T {};
template<> __declspec(dllimport) void S::def<T>() {}
clang-cl rejects this, but MSVC accepts it. In test/SemaCXX/dllimport.cpp,
there are comments suggesting we should only reject this for MinGW, but we end
up rejecting it always.
(Issue 210136 may or may not be related)
--
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