quakeforge/tools/qfcc/test/structlive.r

21 lines
213 B
R
Raw Normal View History

@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;
}