Home | History | Annotate | Download | only in tests
      1 #include <stdio.h>
      2 #include <stdlib.h>
      3 
      4 int main ()
      5 {
      6   int y = 0;
      7   int *m = malloc(sizeof(int));
      8   int *x = m[0] + &y;      // we know m[0] will be zero
      9 
     10   printf ("x = %d\n", *x==0xDEADBEEF ? 99 : 88);
     11 
     12   return 0;
     13 }
     14