* auto-profile.c (afdo_annotate_cfg): Use update_max_bb_count.
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.other / crash30.C
blob61ee8e5ae6cbff1c678748a1df988275d7fe2ed0
1 // { dg-do assemble  }
2 // Origin: Jakub Jelinek <jakub@redhat.com>
4 struct foo
6   foo();
7   void x();
8 };
10 void foo::x() throw(bar)        // { dg-error "" } parse error
11 {                               // { dg-warning "deprecated" "" { target { c++11 && { ! c++17 } } } .-1 }
14 void bar()
16   foo x;