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
/
as.c
blob
a1c001cf8a257e93ad324a52c7620b8b8f852f51
1
/* { dg-additional-options "-std=gnu89" } */
2
3
#define S 31
4
#define A 17
5
6
foo
(
a
)
7
unsigned
a
;
8
{
9
return
(
a
>>
S
) & ((
1
<<
A
) -
1
);
10
}
11
12
main
()
13
{
14
printf
(
"%d%d
\n
"
,
foo
(-
1
),
foo
(
0
));
15
}