* auto-profile.c (afdo_annotate_cfg): Use update_max_bb_count.
[official-gcc.git] / gcc / testsuite / g++.dg / init / dtor3.C
blob2af1ffe46347832210735ce9a9eb01913e332768
1 // PR c++/17976
2 // { dg-do run }
4 extern "C" void abort();
5 struct A
7   static int i;
8   A(){}
9   ~A(){i++;if(i>1)abort();}
12 int A::i = 0;
14 A a;
15 extern A a;
17 int main()
19   return 0;