Sign in
llvm
/
llvm-project
/
3f954f575156bce8ac81d6b4d94de443786befed
/
.
/
lldb
/
test
/
API
/
macosx
/
tbi-honored
/
main.c
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
}