// Test for deduction based on transaction_safe. // { dg-options "-fgnu-tm -std=c++11" } void f() transaction_safe; void g(); template struct A; template struct A { }; A a; A b; // { dg-error "incomplete" }