test78.c 232 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10
typedef __crust_t__ unsigned char *crust_t;

typedef char* (*prueba)(crust_t);

#define NULL ((void *)0)

void main(crust_t param1) {
	prueba test1 = NULL;
	(*test1)(param1); // ERROR: calling a function pointer with a NULL value
}