* auto-profile.c (afdo_annotate_cfg): Use update_max_bb_count.
[official-gcc.git] / gcc / testsuite / g++.dg / other / anon5.C
blob2a6f57f12bccc0c71a1fddc3c0c5cdbdc650065e
1 // PR c++/34094
2 // { dg-do link { target { ! { *-*-darwin* *-*-hpux* *-*-solaris2.* } } } }
3 // { dg-options "-gdwarf-2" }
4 // Ignore additional message on powerpc-ibm-aix
5 // { dg-prune-output "obtain more information" } */
6 // Ignore additional messages on Linux/x86 with PIE
7 // { dg-prune-output "Bad value" } */
9 namespace {
10   struct c
11   {
12     static const bool t = 0;
13   };
16 const bool &f()
18   return c::t;  // { dg-message "\[Uu\]ndefined" "undefined" { target *-*-* } 0 }
19                 // Some targets report the error for the previous line, others
20                 // don't give line number inforamtion for it, so use line 0.
23 int main(void)
25   return 0;