https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67065

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |accepts-invalid
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2015-07-30
     Ever confirmed|0                           |1

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Anders Granlund from comment #0)
> The following program is ill-formed (proc.cc):
> 
>   int main;
> 
> Compile it with the following command line:
> 
>   clang++ prog.cc -std=c++14 -pedantic-errors


Erm :-)


It fails with G++ too though.

Reply via email to