// PR c++/121795 // { dg-do compile { target c++26 } } template struct A; template struct A { }; A x; A y; // { dg-error "incomplete" }