repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
torture
/
pr88223.c
blob
37df1cd6b7428ba47e3b99b22f55e1faf693f1d5
1
/* { dg-do run } */
2
3
extern
void
*
memmove
(
void
*,
const void
*,
__SIZE_TYPE__
);
4
extern
void
abort
(
void
);
5
6
extern
int
7
main
(
void
)
8
{
9
char
s
[] =
"12345"
;
10
memmove
(
s
+
1
,
s
,
4
);
11
memmove
(
s
+
1
,
s
,
4
);
12
memmove
(
s
+
1
,
s
,
4
);
13
if
(
s
[
0
] !=
'1'
||
s
[
1
] !=
'1'
||
s
[
2
] !=
'1'
||
s
[
3
] !=
'1'
||
s
[
4
] !=
'2'
)
14
abort
();
15
return
(
0
);
16
}