// { dg-do compile { target c++17 } } template struct A; template struct A { A(T&&); }; int i; A a = i; // { dg-error "" }