https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120696

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Clang gives a clear error (with -fmatrix-enable)

ice.cc:5:7: error: class template partial specialization does not specialize
any template argument; to declare the primary template, remove the template
argument list
    5 | class X0<T>;
      |       ^ ~~~
1 error generated.

Reply via email to