* auto-profile.c (afdo_annotate_cfg): Use update_max_bb_count.
[official-gcc.git] / gcc / testsuite / g++.dg / abi / thunk6.C
blob6df51c24b176759111c86791b90c8993639bc252
1 // PR c++/60566
2 // We need to emit the construction vtable thunk for ~C even if we aren't
3 // going to use it.
5 struct A
7   virtual void f() = 0;
8   virtual ~A() {}
9 };
11 struct B: virtual A { int i; };
12 struct C: virtual A { int i; ~C(); };
14 C::~C() {}
16 int main() {}
18 // { dg-final { scan-assembler "_ZTv0_n32_N1CD1Ev" { target lp64 } } }
19 // { dg-final { scan-assembler "_ZTv0_n16_N1CD1Ev" { target ilp32 } } }