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: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to