921e5a0eb4
From-SVN: r14840
24 lines
181 B
C
24 lines
181 B
C
foo (a, p)
|
|
int *p;
|
|
{
|
|
p[0] = a;
|
|
a = (short) a;
|
|
return a;
|
|
}
|
|
|
|
main ()
|
|
{
|
|
int i;
|
|
foobar (i, &i);
|
|
}
|
|
|
|
|
|
foobar (a, b)
|
|
{
|
|
int c;
|
|
|
|
c = a % b;
|
|
a = a / b;
|
|
return a + b;
|
|
}
|