quakeforge/tools/qfcc/test/double-int-compare.r
Bill Currie e4bb5c8048 [qfcc] Add pragma to control warning promotion
This allows me to disable -Werror in the Makefile but still have the
build tests work properly and not fail when they shouldn't.
2022-01-25 22:15:28 +09:00

9 lines
115 B
R

#pragma warn error
double a;
int b;
int main ()
{
int x = a == b;
return 1; // test fails if compile succeeds
}