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
[OptTable] Fix typo VALUE => VALUES (NFCI) (#121523)
[llvm-project.git]
/
compiler-rt
/
test
/
hwasan
/
TestCases
/
mem-intrinsics-zero-size.c
blob
bcb8e0771f1e06461f623c5b69a79e5124ee3d98
1
// RUN: %clang_hwasan %s -o %t && %run %t
2
3
#include <string.h>
4
5
int
main
() {
6
char
a
[
1
];
7
memset
(
a
,
0
,
0
);
8
memmove
(
a
,
a
,
0
);
9
memcpy
(
a
,
a
,
0
);
10
}