* auto-profile.c (afdo_annotate_cfg): Use update_max_bb_count.
[official-gcc.git] / gcc / testsuite / g++.dg / parse / pr70635.C
blob0873840daf50e3977611510ef96270883980a851
1 // PR c++/70635
2 // { dg-options "-fpermissive -w" }
4 template < typename T > 
5 struct A
7   struct B;
8   typedef typename B::type type;
9 };
11 template < typename T > 
12 struct A < T >::B
14   typedef typename A < type >::type type;  // { dg-error "type" }
15   type Foo ();
18 template < typename T > 
19 typename A < T >::B::type
20 A < T >::B::Foo ()
22   return 0;
25 template class A<int>;