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
/
execute
/
930513-2.c
blob
9eba0a2ddc4544016f275e1e268483a63445cfe4
1
/* { dg-additional-options "-std=gnu89" } */
2
3
sub3
(
i
)
4
const int
*
i
;
5
{
6
}
7
8
eq
(
a
,
b
)
9
{
10
static int
i
=
0
;
11
if
(
a
!=
i
)
12
abort
();
13
i
++;
14
}
15
16
main
()
17
{
18
int
i
;
19
20
for
(
i
=
0
;
i
<
4
;
i
++)
21
{
22
const int
j
=
i
;
23
int
k
;
24
sub3
(&
j
);
25
k
=
j
;
26
eq
(
k
,
k
);
27
}
28
exit
(
0
);
29
}