* auto-profile.c (afdo_annotate_cfg): Use update_max_bb_count.
[official-gcc.git] / gcc / testsuite / g++.dg / diagnostic / aka1.C
blob37f8df9399d251128fbf8645ab17f61217009239
1 // Basic test for typedef stripping in diagnostics.
3 struct A {
4   void f();
5 };
7 void A::f() {
8   // We don't want an aka for the injected-class-name.
9   A a = 0;                      // { dg-error "type .A. requested" }
12 typedef A B;
14 // We do want an aka for a real typedef.
15 B b = 0;                        // { dg-error "B .aka A." }