blob: 9668daac20634ee43f40b933ea66c818762cf17c [file] [log] [blame]
// RUN: test.sh -p -t %t %s
/* exactcheck() move pointer in and out of bounds test */
#include <stdio.h>
#include <stdlib.h>
int
main (int argc, char ** argv) {
unsigned char x = 0;
unsigned char *y = (unsigned char*)&x + 2 - 2;
printf ("%p %p\n", y, &x);
fflush (stdout);
return *y;
}