921e5a0eb4
From-SVN: r14840
28 lines
258 B
C
28 lines
258 B
C
sub3 (i)
|
|
const int *i;
|
|
{
|
|
}
|
|
|
|
eq (a, b)
|
|
{
|
|
static int i = 0;
|
|
if (a != i)
|
|
abort ();
|
|
i++;
|
|
}
|
|
|
|
main ()
|
|
{
|
|
int i;
|
|
|
|
for (i = 0; i < 4; i++)
|
|
{
|
|
const int j = i;
|
|
int k;
|
|
sub3 (&j);
|
|
k = j;
|
|
eq (k, k);
|
|
}
|
|
exit (0);
|
|
}
|