[LLVMbugs] [Bug 21509] New: available externally typeinfos not implemented

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Nov 6 15:51:37 PST 2014


http://llvm.org/bugs/show_bug.cgi?id=21509

            Bug ID: 21509
           Summary: available externally typeinfos not implemented
           Product: clang
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: LLVM Codegen
          Assignee: unassignedclangbugs at nondot.org
          Reporter: compnerd at compnerd.org
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Test case:

// %clang -target i686-windows-itanium -c %s -o /dev/null

class __declspec(dllimport) base {
public:
  base() {}

  const char *value() const;
  virtual void method() const = 0;
};

class __declspec(dllimport) wrapper {
public:
  wrapper(base *);
};

class __declspec(dllimport) derived : public base {
public:
  derived() : base() {}
  virtual void method() const { (void)value(); }
};

class __declspec(dllimport) test {
public:
  test() : w(new derived()) {}
  wrapper w;
};

test t;

-- 
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/20141106/6f36d1da/attachment.html>


More information about the llvm-bugs mailing list