Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
gcc
/
testsuite
/
g++.dg
/
torture
/
pr71874.C
blob: d9b4e2f88497f72b4d68c805c5c8d572c634318d [
file
] [
log
] [
blame
]
// PR middle-end/71874
// { dg-do run }
int
main
()
{
char
str
[]
=
"abcdefghijklmnopqrstuvwxyzABCDEF"
;
__builtin_memmove
(
str
+
20
,
str
+
15
,
11
);
if
(
__builtin_strcmp
(
str
,
"abcdefghijklmnopqrstpqrstuvwxyzF"
)
!=
0
)
__builtin_abort
();
return
0
;
}