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

#define NULL ((void *)0)

void function(int);

void main(crust_t param1) {
	void (*test1)(int) = function;
	(*test1)(param1); // ERROR: calling a function pointer with incorrect type of parameters
	__crust_disable__
}