// no PCH
// RUN: %clang_cc1 -emit-llvm-only -include %s -include %s %s
// with PCH
// RUN: %clang_cc1 -emit-llvm-only -chain-include %s -chain-include %s %s
// A base with a virtual dtor.
;
// A derived class with an implicit virtual dtor.
;
// Further derived class that requires ~B().
// Causes definition of ~B(), but it was lost when saving PCH.
;
void
// VTable placement would again cause definition of ~B(), hiding the bug,
// if not for B::virt(), which suppresses the placement.