test219.c 257 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12
#define NULL ((void *)0)

void *malloc(int size);

struct crust_ts {
    char var1;
    int var2;
    struct crust_ts *next;
};

typedef __crust__ struct crust_ts* crust_t;

13
void function(void) {
14 15 16 17 18

    crust_t var = NULL;

    var = (crust_t) malloc(800);
}