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 inline-asm/84742
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
pr48814-2.c
blob
9eea3289ab1a594fb254642f08239acf480eff5b
1
extern
void
abort
(
void
);
2
3
int
arr
[] = {
1
,
2
,
3
,
4
};
4
int
count
=
0
;
5
6
int
7
incr
(
void
)
8
{
9
return
++
count
;
10
}
11
12
int
main
()
13
{
14
arr
[
count
++] =
incr
();
15
if
(
count
!=
2
||
arr
[
count
] !=
3
)
16
abort
();
17
return
0
;
18
}