https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95153
Barry Revzin <barry.revzin at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |barry.revzin at gmail dot com
--- Comment #5 from Barry Revzin <barry.revzin at gmail dot com> ---
Just to follow up, gcc trunk right now does this:
int main() {
int a[3]{};
void const* b[3](a); // ok
void const* c[3]{};
void const* d[3](c); // error: array must be initialized with a
brace-enclosed initializer
}
If 'd' is actually an error, then it's not because of that, so at the very
least, the diagnostic is wrong.