http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55361
--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-11-17 00:19:18 UTC --- unless this is recategorised as a diagnostic enhancement request this is clearly invalid, the compiler is not required to give an error for this code