* auto-profile.c (afdo_annotate_cfg): Use update_max_bb_count.
[official-gcc.git] / gcc / testsuite / g++.dg / abi / mangle62.C
blobdb541ca1902b9310e80f801977372629d70ebfa4
1 // Before v8, we mistakenly treated an unqualified function type
2 // as a substitution candidate for a function type with function-cv-quals.
3 // Test for the conformant behavior.
5 // { dg-options "-fabi-version=0 -Wabi=7" }
7 template <class T, class U> struct A { };
8 // { dg-final { scan-assembler "\n_?_Z1fP1AIKFvvEFvvEE\[: \t\n\]" } }
9 void f (A<void()const, void()> *){} // { dg-warning "mangled name" }
10 // { dg-final { scan-assembler "\n_?_Z1gP1AIFvvEKFvvEE\[: \t\n\]" } }
11 void g (A<void(), void()const> *){} // { dg-warning "mangled name" }