quakeforge/tools/qfcc/test/double-demote-int-ginit.r
Bill Currie 6ce99afa5b Catch double demotion in global initializers
Local initializers are handled by regular assignments
2020-02-15 23:49:12 +09:00

6 lines
85 B
R

double a;
int b = 1.0d;
int main ()
{
return 1; // test fails if compile succeeds
}