// RUN: %clang_cc1 -fno-rtti-data -triple x86_64-windows-msvc -emit-llvm-only %s -verify
// Verify that we error out on this return adjusting thunk that we can't emit.
structA{virtual A *clone(constchar*f,...)=0;};structB:virtualA{// expected-error@+1 2 {{cannot compile this return-adjusting thunk with variadic arguments yet}}
B *clone(constchar*f,...)override;};structC:B{int c;};
C c;