https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69632
Bug ID: 69632 Summary: No error issued for declaring a parameter having a late-specified return type without the 'auto' type specifier Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: ppalka at gcc dot gnu.org Target Milestone: --- g++ does not issue an error for following the invalid declaration: int foo (long (int) -> char); This does not appear to be a regression. All versions of g++ (since the introduction of C++11 support) accept this code.