// PR c++/104291 // { dg-do compile { target c++20 } } struct A { int x; }; template struct B; template struct B { }; // { dg-error "not deducible" }