* auto-profile.c (afdo_annotate_cfg): Use update_max_bb_count.
[official-gcc.git] / gcc / testsuite / g++.dg / tm / template-4.C
blobdd257111bda77563126850badc7fc8dd851a1ec0
1 // Test for transaction-safety conversion in deduction.
2 // { dg-options "-fgnu-tm" }
4 void fn(int) transaction_safe;
5 void fn();
7 template <class T> void f(void(*)(T));
8 template <class T> void f2(void(*)(T) transaction_safe);
10 void g()
12   f(fn);