6 int i __attribute__((unused));
7 int* y __attribute__((unused));
8 int** x = malloc(sizeof(int*) * 100);
9 int* x2 = malloc(sizeof(int) * 100);
10 void* sink __attribute__((unused));
11 x[0] = x2; // this is to check the pointerness is copied across ok
12 x[49] = x2; // this is to check the pointerness is copied across ok
17 x = realloc(x, sizeof(int*)*50); // smaller
25 x = realloc(x, sizeof(int*)*50); // same size
33 x = realloc(x, sizeof(int*)*100); // bigger
43 sink = realloc((void*)0x99, 10); // fails