* auto-profile.c (afdo_annotate_cfg): Use update_max_bb_count.
[official-gcc.git] / gcc / testsuite / g++.dg / lookup / struct1.C
blob7c1e38c1863fdeacbb8f9fe3a7545ab62c794522
1 // Various struct lookup tests.  We didn't used to complain about
2 // the definition of C.
4 struct A;
5 typedef struct A B;             // { dg-message "previous declaration" }
6 struct B;                       // { dg-error "using typedef-name" }
8 typedef struct { int i; } C;    // { dg-message "previous declaration" }
9 struct C;                       // { dg-error "using typedef-name" }
11 struct D;
12 typedef struct D D;
13 typedef struct D { int i; } D;
14 typedef struct D D;