mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-23 12:52:46 +00:00
3665a0566a
This tests local kills via aliases.
20 lines
213 B
R
20 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;
|
|
}
|