test127.c 293 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13
typedef __crust_t__ unsigned char *crust_t;

#define NULL ((void *)0)

void process_block(crust_t __crust_borrow__ block);

void main(crust_t param) {

	// This loop works fine
	for(__crust_alias__ crust_t looper = param; looper != NULL; looper = looper->next) {
		process_block(looper);
	}
}