* auto-profile.c (afdo_annotate_cfg): Use update_max_bb_count.
[official-gcc.git] / gcc / testsuite / g++.dg / tm / lambda1.C
blobd0cffbff22fba0d9baa3f51a9ffdb65452837bee
1 // Test for lambda conversion.
2 // { dg-options "-fgnu-tm -std=c++14" }
4 void f(bool b)
6   void (*p)() transaction_safe;
8   p = []() transaction_safe {};
9   p = []{};                     // { dg-error "transaction_safe" }