http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52379
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID --- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-02-25 14:04:38 UTC --- (In reply to comment #2) > (In addition, the compiler should > also reject the semicolon after the closing brace of the namespaces). That's a long-standing G++ extension, which -pedantic warns about. Otherwise, agreed, this is invalid.