mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-14 08:50:58 +00:00
21 lines
213 B
R
21 lines
213 B
R
|
@param foo (int r)
|
||
|
{
|
||
|
@param ret;
|
||
|
ret = nil;
|
||
|
ret.int_val = r;
|
||
|
return ret;
|
||
|
}
|
||
|
|
||
|
int main ()
|
||
|
{
|
||
|
@param ret;
|
||
|
int i;
|
||
|
|
||
|
for (i = 0; i < 5; i++) {
|
||
|
ret = foo (i);
|
||
|
if (ret.int_val != i)
|
||
|
return 1;
|
||
|
}
|
||
|
return 0;
|
||
|
}
|