hanchenye-llvm-project/clang/test/CodeGenCXX/microsoft-abi-nontrivial-me...

12 lines
260 B
C++

// RUN: %clang_cc1 -fno-rtti -emit-llvm-only -triple=i386-pc-win32 %s -verify
struct A {
A();
~A();
int a;
};
struct B {
virtual void f(A); // expected-error {{cannot compile this non-trivial argument copy for thunk yet}}
};
void (B::*mp)(A) = &B::f;