fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. void f(auto fp() -> int)
  5. {
  6. }
  7.  
  8. int main() {
  9. // your code goes here
  10. return 0;
  11. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cpp:4:21: error: 'fp' function with trailing return type not declared with 'auto' type specifier
 void f(auto fp() -> int)
                     ^
stdout
Standard output is empty