https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115594
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |DUPLICATE
Status|UNCONFIRMED |RESOLVED
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Yes it is a dup.
The following should also be rejected but currently is not:
```
template<class T, class T1 = int*(T[5])> int f(T*);
int j=f<void>(nullptr);
```
Basically function arguments (including concepts "arguments") decay too early
for arrays to pointers.
*** This bug has been marked as a duplicate of bug 24664 ***