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

            Bug ID: 121826
           Summary: ICE on less constrainted partial specialization
           Product: gcc
           Version: 16.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: stevenxia990430 at gmail dot com
  Target Milestone: ---

he following invalid program reports an internal compiler error. Failed on
gcc-trunk. 

To quickly reproduce: https://gcc.godbolt.org/z/3Gvq9jPbP
```
template <auto (&M)[0]>
struct A {};

template <auto (&M)[0]>
struct A<M> {};
```

Reply via email to