#include <stdio.h> int main(void) { void* a; int* b=a; int(*c)()=a; return 0; }
Standard input is empty
prog.c: In function 'main': prog.c:5:12: error: ISO C forbids initialization between function pointer and 'void *' [-Werror=pedantic] int(*c)()=a; ^ prog.c:5:7: error: unused variable 'c' [-Werror=unused-variable] int(*c)()=a; ^ prog.c:4:7: error: unused variable 'b' [-Werror=unused-variable] int* b=a; ^ prog.c:4:7: error: 'a' is used uninitialized in this function [-Werror=uninitialized] cc1: all warnings being treated as errors
Standard output is empty