* auto-profile.c (afdo_annotate_cfg): Use update_max_bb_count.
[official-gcc.git] / gcc / testsuite / g++.dg / tm / template-3.C
blob356d2a89b9b3478a80e53ae434bc4b938cbc4752
1 // { dg-options "-fgnu-tm" }
3 void fn(int) transaction_safe;
4 void fn(double);
6 template <class T> void f(T t) transaction_safe
8   fn(t);                        // { dg-error "double" }
11 void g()
13   f(42); // OK
14   f(3.14);