https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62198
--- Comment #1 from joseph at codesourcery dot com <joseph at codesourcery dot com> --- Sounds like a Clang bug to me. The type pointed to by "const int (*)[10]" is "array of 10 const int", which is not a const-qualified type.