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
PR middle-end/85602 - -Wsizeof-pointer-memaccess for strncat with size of source
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr84607.c
blob
710ee94f729be89fd5ebf0f81814ebf22d2ecb2a
1
/* { dg-do run } */
2
3
extern
void
exit
(
int
);
4
extern
void
abort
(
void
);
5
int
a
[
10
];
6
int
foo
()
7
{
8
exit
(
0
);
9
return
0
;
10
}
11
int
main
()
12
{
13
if
(&
a
[
foo
()])
14
abort
();
15
return
0
;
16
}