https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113839
--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> --- (In reply to Marek Polacek from comment #2) > Confirmed; we should say that we expect an id there. $ clang++ s.cc s.cc:3:14: error: expected unqualified-id static int { }; ^ 1 error generated. $ edg s.cc "s.cc", line 3: error: expected an identifier static int { }; ^ 1 error detected in the compilation of "s.cc".