error: cannot assign to type 'void (*)()' with type 'void (*)(int)'
|  --> in tests/fixtures/func_ptr_errors.c:12:10
|
12   void (*func)(void) = foo;
|           ^
error: called object type: 'void (**)()' is not function or function pointer
|  --> in tests/fixtures/func_ptr_errors.c:15:8
|
15   func2();
|         ^
error: only variables can be initialized
|  --> in tests/fixtures/func_ptr_errors.c:17:7
|
17   int(func_ptr)() = 42;
|        ^
error: cannot assign to type 'void (*)(int)' with type 'void (*)(long *)'
|  --> in tests/fixtures/func_ptr_errors.c:19:12
|
19   Callback callback = callbackFunction; // Error: Incompatible argument type
|             ^
4 errors generated.
