https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66606
Jan Schultke <janschultke at googlemail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |janschultke at googlemail dot
com
--- Comment #3 from Jan Schultke <janschultke at googlemail dot com> ---
Note that the wording got clarified in 2023 by
https://cplusplus.github.io/CWG/issues/2811.html
Clang diagnoses decltype(main); GCC doesn't: https://godbolt.org/z/v4GcrxfMf
