blob: d0cffbff22fba0d9baa3f51a9ffdb65452837bee [file] [log] [blame]
// Test for lambda conversion.
// { dg-options "-fgnu-tm -std=c++14" }
void f(bool b)
{
void (*p)() transaction_safe;
p = []() transaction_safe {};
p = []{}; // { dg-error "transaction_safe" }
}