[Bug c++/69632] No error issued for declaring a parameter having a late-specified return type without the 'auto' type specifier

2021-08-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69632

--- Comment #1 from Andrew Pinski  ---
GCC 9+ produce:
:1:28: error: 'parameter' function with trailing return type not
declared with 'auto' type specifier
1 | int foo (long (int) -> char);
  |^~~~

[Bug c++/69632] No error issued for declaring a parameter having a late-specified return type without the 'auto' type specifier

2016-02-02 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69632

Jonathan Wakely  changed:

   What|Removed |Added

   Keywords||accepts-invalid
 Status|UNCONFIRMED |NEW
   Last reconfirmed||2016-02-02
 Ever confirmed|0   |1