test88.c 245 Bytes
Newer Older
1
typedef __crust__ unsigned char *crust_t;
2 3 4

#define NULL ((void *)0)

5 6 7 8
char* function(crust_t);

void main() {
	char* (*test1)(crust_t) = function;
9 10 11
	int b = 1;
	(*test1)(b); // ERROR: calling a function pointer with incorrect type of parameters
}