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

            Bug ID: 20348
           Summary: clang-cl: cannot compile this non-trivial argument
                    copy for thunk yet
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Frontend
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified

$ cat js-ipc3.cc
class ObjectVariant {
  ~ObjectVariant();
};
class A {
 virtual void m_fn1(ObjectVariant);
};
class B : virtual A {
  B();
  void m_fn1(ObjectVariant);
};
void B::m_fn1(ObjectVariant) {}

$ clang-cl -c js-ipc3.cc -m32
js-ipc3.cc(11,28) :  error: cannot compile this non-trivial argument copy for
thunk yet
void B::m_fn1(ObjectVariant) {}
                           ^
1 error generated.

-- 
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