repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[clang] Fix implicit integer conversion for opaque enums declared in class templates...
[llvm-project.git]
/
lldb
/
test
/
API
/
commands
/
watchpoints
/
unaligned-watchpoint
/
main.c
blob
78a4e793cb328ae07b28a6ac43712896f6d302cb
1
#include <stdint.h>
2
#include <stdio.h>
3
int
main
() {
4
union
{
5
uint8_t
buf
[
8
];
6
uint64_t
val
;
7
}
a
;
8
a
.
val
=
0
;
9
puts
(
"ready to loop"
);
// break here
10
a
.
val
=
UINT64_MAX
;
11
for
(
int
i
=
0
;
i
<
5
;
i
++) {
12
a
.
val
=
i
;
13
printf
(
"a.val is %lu
\n
"
,
a
.
val
);
14
}
15
}