You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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)
The text was updated successfully, but these errors were encountered:
llvmbot
transferred this issue from llvm/llvm-bugzilla-archive
Dec 9, 2021
Extended Description
Consider:
struct S {
template void def() {}
};
struct T {};
template<> __declspec(dllimport) void S::def() {}
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)
The text was updated successfully, but these errors were encountered: