[LLVMbugs] [Bug 21406] New: clang-cl rejects dllimport on explicit member template specialization
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Tue Oct 28 15:07:54 PDT 2014
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: unassignedclangbugs at nondot.org
Reporter: hans at chromium.org
CC: llvmbugs at cs.uiuc.edu
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20141028/20d4c902/attachment.html>
More information about the llvm-bugs
mailing list