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
/
shft.c
blob
9b8488e48d360debe892067707c5e358ad526671
1
/* { dg-additional-options "-std=gnu89" } */
2
3
foo
(
a
)
4
int
a
;
5
{
6
int
b
=
8
;
7
8
if
((
a
<<
b
) >=
0
)
9
return
1
;
10
return
a
;
11
}
12
13
main
()
14
{
15
if
(
foo
(
0x00ffffff
) ==
1
)
16
puts
(
"y"
);
17
}