test77.c 310 Bytes
Newer Older
1
typedef __crust__ int *crust_t;
2 3 4 5 6 7 8 9

#define NULL ((void *)0)

crust_t function(crust_t param);

void main(crust_t param) {

	crust_t __crust_alias__ an_alias = param;
10
	__crust_debug__
11
	an_alias = function(param); // ERROR: it is not allowed to assign the return block of a function to an alias
12 13
	__crust_debug__
}