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
/
xb.c
blob
4f17f0ab365a295b56738e39f7ab7d713f6906df
1
/* { dg-additional-options "-std=gnu89" } */
2
3
foo
(
a
,
b
)
4
{
5
unsigned
x
=
1
;
6
7
a
+=
b
;
8
a
+=
x
;
9
if
(
a
<=
0
)
10
return
1
;
11
return
0
;
12
}
13
14
main
()
15
{
16
printf
(
"%d
\n
"
,
foo
(
1
, ~
0
));
17
printf
(
"%d
\n
"
,
foo
(
0
, ~
0
));
18
printf
(
"%d
\n
"
,
foo
(-
1
, ~
0
));
19
}