OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Fix PR 17408 and PR 17409.
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
930513-2.c
1
sub3 (i)
2
const int *i;
3
{
4
}
5
6
eq (a, b)
7
{
8
static int i = 0;
9
if (a != i)
10
abort ();
11
i++;
12
}
13
14
main ()
15
{
16
int i;
17
18
for (i = 0; i < 4; i++)
19
{
20
const int j = i;
21
int k;
22
sub3 (&j);
23
k = j;
24
eq (k, k);
25
}
26
exit (0);
27
}