https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95379
Alexander Monakov <amonakov at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |amonakov at gcc dot gnu.org --- Comment #4 from Alexander Monakov <amonakov at gcc dot gnu.org> --- > does anyone know if it's part of C too? { } is valid C++, invalid C; GCC accepts it in C as an extension, and warns with -pedantic. I think this enhancement request is reasonable.