quakeforge/tools/qfcc/test/double-demote-float-ainit.r
Bill Currie 344d429134 Test array initializer double demotions
Turns out array inits are very strict about types (bug?).
2020-02-15 23:49:12 +09:00

6 lines
89 B
R

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