Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
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
;
}