------- Additional Comments From joseph at codesourcery dot com  2005-05-28 
02:08 -------
Subject: Re:  New: GCC accepts invalid code

On Sat, 28 May 2005, neil at gcc dot gnu dot org wrote:

> gcc -Wall -ansi -pedantic -fsyntax-only
> 
> erroneously accepts the following:
> 
> void bar(void);
> 
> void (*baz(void))(void)  { return bar ? bar: (void *)(void *) 0; }

This just looks like a special case of bug 456 to me.



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21794

Reply via email to