[LLVMbugs] [Bug 19988] New: class __declspec(dllimport) gives error with deleted operators

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Jun 9 21:47:31 PDT 2014


            Bug ID: 19988
           Summary: class __declspec(dllimport) gives error with deleted
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Frontend
          Assignee: unassignedclangbugs at nondot.org
          Reporter: jmuizelaar at mozilla.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

The following builds with cl but not with clang-cl

template <typename> class __declspec(dllimport) A {
  void operator=(A) = delete;

A<int> a;

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/20140610/53e46f7c/attachment.html>

More information about the llvm-bugs mailing list