// { dg-do compile { target c++17 } } template struct A { int i; A(...); }; template A(T) -> A { } // { dg-error "1:function body" }