blob: 3d7ad0b04cd6642e7ad34a0e55a45f36287cc4a8 [file]
#include <stdint.h>
#include <stdio.h>
union ptrbytes {
int *p;
uint8_t bytes[8];
};
int main() {
int c = 15;
union ptrbytes pb;
pb.p = &c;
pb.bytes[7] = 0xfe;
printf("%d\n", *pb.p); // break here
}