// PR c++/79350 // { dg-do compile { target c++17 } } template struct A { explicit A(T); }; A a (42); A a2 = 42; // { dg-error "" } template struct B { B(T*); }; template explicit B(T) -> B; B b1 (0); B b2 = 0; // { dg-error "" }