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
preprocessor: Create the parser before handling command-line includes [PR115312]
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
20000717-3.c
blob
d8a3ffa6a2d2e77ce45dca296be4287d4d8d3fc1
1
/* { dg-additional-options "-std=gnu89" } */
2
3
int
c
= -
1
;
4
5
foo
(
p
)
6
int
*
p
;
7
{
8
int
x
;
9
int
a
;
10
11
a
=
p
[
0
];
12
x
=
a
+
5
;
13
a
=
c
;
14
p
[
0
] =
x
-
15
;
15
return
a
;
16
}
17
18
int
main
()
19
{
20
int
b
=
1
;
21
int
a
=
foo
(&
b
);
22
23
if
(
a
!= -
1
||
b
!= (
1
+
5
-
15
))
24
abort
();
25
26
exit
(
0
);
27
}
28