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

--- Comment #3 from Anders Granlund <anders.granlund.0 at gmail dot com> ---
(In reply to Jonathan Wakely from comment #1)
> (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.

Lol. Don't worry, GCC is still my favourite compiler bug generator. :P

Reply via email to