quakeforge/tools/qfcc/test/old/prec.qc
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

29 lines
558 B
C++

float (float x, float y, float z) foo =
{
return !x * y;
return !x / y;
return !x + y;
return !x - y;
return !x < y;
return !x <= y;
return !x > y;
return !x >= y;
return !x == y;
return !x != y;
return !x & y;
return !x | y;
return !x && y;
return !x || y;
return !x = y;
// return x & y = z; // XXX
// return x = y & z; // XXX
return x * y & z;
return x & y * z;
// return x && y = z; // XXX
// return x = y && z; // XXX
// return x && y || z;
// return x || y && z;
// return x < y == z;
// return x == y < z;
// return x * y = z;
};