* auto-profile.c (afdo_annotate_cfg): Use update_max_bb_count.
[official-gcc.git] / gcc / testsuite / g++.dg / lookup / hidden-class12.C
blob4a3f2d7618be152e1ecc501b2ad1a1f105522872
1 // Contributed by Dodji Seketeli <dodji@redhat.com>
2 // Origin PR c++/36019
3 // { dg-do compile }
5 struct F {
6   static const int x = 0;
7 };
9 struct A {
10   template <typename A>
11   static int f ()
12   {
13     return A::x;
14   }
18 int
19 main ()
21   int i = A::f<F> ();
22   return i;