// PR c++/82632 // { dg-do compile { target c++17 } } template struct Foo { Foo() = default; Foo(const Foo&) = delete; template Foo(const Foo&); }; template Foo(Foo) -> Foo; Foo a; Foo b = a;