// PR c++/79501 // { dg-do compile { target c++17 } } template struct A { template struct B { template B(V); }; B(T) -> B; }; A::B b(0);