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
C99 testsuite readiness: Compile more tests with -std=gnu89
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
compile
/
addcc.c
blob
307bd5cc4148052e0f8c6a51878cb0fbe48b8405
1
/* { dg-additional-options "-std=gnu89" } */
2
3
foo
(
p
,
a
,
b
)
4
int
*
p
;
5
int
a
;
6
int
b
;
7
{
8
9
a
+=
p
[
0
];
10
b
+=
p
[
1
];
11
if
(
a
==
0
)
12
return
b
;
13
return
a
;
14
}
15
16
17
bar
(
a
)
18
{
19
return
-
a
>
0
?
1
:
2
;
20
}