https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101486
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- clang and ICC reject this. clang error message: <source>:9:5: error: no matching function for call to 'f2' f2(ptr); // rejects ^~ <source>:5:6: note: candidate template ignored: could not match 'type-parameter-0-0 []' against 'int [10]' void f2(T(*)[]); ^