fork(1) download
  1. #include <stdio.h>
  2.  
  3.  
  4.  
  5. int main(void) {
  6.  
  7. typedef int (*foo) ();
  8. foo * bar ();
  9. foo * p = bar;
  10. ( void )p ;
  11. return 0;
  12. }
  13.  
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.c: In function ‘main’:
prog.c:9:13: error: initialization from incompatible pointer type [-Werror]
   foo * p = bar;
             ^
cc1: all warnings being treated as errors
stdout
Standard output is empty