quakeforge/tools/qfcc/test/old/bool.r
Bill Currie 49ca09a64f Clean up qfcc's test directory.
I don't remember what half these tests were for :/
2012-11-22 21:58:52 +09:00

18 lines
265 B
R

integer (integer x, integer y, integer z) foo =
{
if (x || !y && z) {
return x || y && z;
} else {
for (x = 0; (x || y) && z < 3; x++)
return (x || y && z) ? 4 : 9;
}
return !x;
};
float bar (void *a)
{
void *b;
if (!(b = a))
return 1;
return 2;
}