Sign in
llvm
/
llvm-archive
/
a95f55d472d28a35cc4af5df7749473ca38ee187
/
.
/
safecode
/
test
/
cstdlib
/
strcat-008.c
blob: a3c892fb91d76dd6d68874a1f97ff98634ddea86 [
file
] [
log
] [
blame
]
// RUN: test.sh -e -t %t %s
// strcat() with nothing copied although strings overlap.
#include
<string.h>
int
main
()
{
char
string
[
7
]
=
"string"
;
strcat
(
string
,
&
string
[
6
]);
return
0
;
}