Sign in
llvm
/
llvm-archive
/
f8b4f79771a41ee0a0f02ac90619d37ccd834915
/
.
/
safecode
/
test
/
cstdlib
/
strcat-005.c
blob: aa6f2940df8002c5a0619f26b093a034d7f828b9 [
file
] [
log
] [
blame
]
// RUN: test.sh -e -t %t %s
// Concatenation destination and source overlap.
#include
<string.h>
int
main
()
{
char
buf
[
10
]
=
"afg"
;
strcat
(&
buf
[
2
],
buf
);
return
0
;
}