* auto-profile.c (afdo_annotate_cfg): Use update_max_bb_count.
[official-gcc.git] / gcc / testsuite / g++.dg / abi / abi-tag23a.C
blob10645bf74cfa8f5abbd40bddd394e6c9914accb3
1 // PR c++/77379
2 // { dg-options -fabi-version=10 }
4 struct __attribute ((abi_tag ("bar"))) string { };
6 struct Mother
8   virtual ~Mother() {};
9   int bar;
12 struct Father
14   virtual string get_foo()  = 0;
17 class Derived:
18   public Mother,
19   public Father
21 public:
22   string get_foo();
25 struct Final:
26     public Derived
30 int main()
32   Final().get_foo();
35 // { dg-final { scan-assembler "_ZThn\[0-9]+_N7Derived7get_fooEv" } }