* auto-profile.c (afdo_annotate_cfg): Use update_max_bb_count.
[official-gcc.git] / gcc / testsuite / g++.dg / tm / inherit1.C
blobb8480a1089212cef34ba0f8c7a280dafea4d4298
1 // Testcase from TM TS
2 // { dg-options "-std=c++14 -fgnu-tm" }
4 struct B {
5   virtual void f() transaction_safe;
6 };
8 struct D3 : B
10   void f() transaction_safe_dynamic override; // { dg-error "" "B::f() is transaction_safe" }