* auto-profile.c (afdo_annotate_cfg): Use update_max_bb_count.
[official-gcc.git] / gcc / testsuite / g++.dg / tm / template-5.C
blob6501ed1a073d19a94ed35cc9754d0a3b3950ab2a
1 // Test for deduction based on transaction_safe.
2 // { dg-options "-fgnu-tm -std=c++11" }
4 void f() transaction_safe;
5 void g();
7 template <class T> struct A;
8 template <class R, class...Ps>
9 struct A<R (Ps...) transaction_safe> { };
11 A<decltype(f)> a;
12 A<decltype(g)> b;               // { dg-error "incomplete" }