test46.c 297 Bytes
Newer Older
Sergio Costas's avatar
Sergio Costas committed
1 2 3 4 5 6 7 8 9 10 11
typedef __crust_t__ unsigned char *crust_t;

#define NULL ((void *)0)

void main(crust_t param) {

	crust_t var2 = (crust_t) 5;
	if (param != NULL) {
		main(param);
	} else {
		param = var2;
12
		main(param); // all is legal
Sergio Costas's avatar
Sergio Costas committed
13
	}
14
	__crust_disable__ // added here to ensure only one error per unitest
Sergio Costas's avatar
Sergio Costas committed
15
}