[Bug c++/47151] Parsing error

paolo.carlini at oracle dot com gcc-bugzilla@gcc.gnu.org
Sun Jan 2 12:11:00 GMT 2011


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

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID

--- Comment #1 from Paolo Carlini <paolo.carlini at oracle dot com> 2011-01-02 12:11:03 UTC ---
Your snippet is perfectly legal, like, eg:

void foo() { }

void bar()
{ return foo(); }



More information about the Gcc-bugs mailing list