https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94264
Fedor Chelnokov <fchelnokov at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |fchelnokov at gmail dot com
--- Comment #4 from Fedor Chelnokov <fchelnokov at gmail dot com> ---
Related discussion: https://stackoverflow.com/q/77051011/7325599
And an example from it:
int main() {
using U = int(&&)[1];
(void) *U{}; //ok everywhere
using T = int[1];
(void) *T{}; //error in GCC
}
Online demo: https://godbolt.org/z/4s8v9PPqT