#include <stdio.h> int main(void) { typedef int (*foo) (); foo * bar (); foo * p = bar; ( void )p ; return 0; }
Standard input is empty
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
Standard output is empty