blob: 356d2a89b9b3478a80e53ae434bc4b938cbc4752 [file] [log] [blame]
// { dg-options "-fgnu-tm" }
void fn(int) transaction_safe;
void fn(double);
template <class T> void f(T t) transaction_safe
{
fn(t); // { dg-error "double" }
}
void g()
{
f(42); // OK
f(3.14);
}