Files
clang-p2996/clang/test/CodeGenCXX/microsoft-abi-virtual-inheritance.cpp
Peter Collingbourne 66f82e68c3 [ms-cxxabi] Move CodeGenVTables::needsVTTParameter to ItaniumCXXABI.
This function only makes sense there.  Eventually it should no longer
be part of the CGCXXABI interface, as it is an Itanium-specific detail.

Differential Revision: http://llvm-reviews.chandlerc.com/D821

llvm-svn: 185213
2013-06-28 20:45:28 +00:00

12 lines
182 B
C++

// RUN: %clang_cc1 %s -fno-rtti -cxx-abi microsoft -triple=i386-pc-win32 -emit-llvm -o %t
struct A {};
struct B : virtual A {
virtual ~B();
};
struct C : B {
C();
};
C::C() {}