* auto-profile.c (afdo_annotate_cfg): Use update_max_bb_count.
[official-gcc.git] / gcc / testsuite / g++.dg / lookup / typedef1.C
blobf712fc25aa5720151ed6d1e00e8dbc35e2edbb02
1 // PR c++/33516
2 // { dg-do compile }
4 struct S1;
5 typedef S1 T1;
6 struct S1 {
7   typedef int U;
8   T1::U i;
9 };
10 struct S2;
11 typedef S2 T2;
12 struct S2 {
13   typedef int U;
15 T2::U j;
16 struct S3;
17 typedef S3 T3;
18 struct S3 {
19   typedef int U;
20   S3::U i;
23 void
24 foo ()
26   S1 s1;
27   S2 s2;
28   S3 s3;
29   s1.i = 6;
30   j = 7;
31   s3.i = 8;