* auto-profile.c (afdo_annotate_cfg): Use update_max_bb_count.
[official-gcc.git] / gcc / testsuite / g++.dg / abi / noreturn2.C
blob72accafe6600f14f9678cf76e3eb912b03050f31
1 // Test for buggy mangling of attribute noreturn in abi<=4
2 // { dg-options -fabi-version=4 }
4 void baz (const char *fmt, ...);
6 // { dg-final { scan-assembler "_Z3barPVFvPKczE" } }
7 void bar (void (*baz) (const char *fmt, ...)
8                            __attribute__ ((noreturn, format (printf, 1, 2))));
10 void
11 foo ()
13   bar (&baz);