quakeforge/tools/qfcc/test/deadbool.r

20 lines
229 B
R
Raw Normal View History

entity spawn (void) { return nil; }
.float f;
float time;
void foo (void)
{
local entity ent;
return;
if (!time) {
ent = spawn ();
ent.f = time + 0.1;
}
}
int main ()
{
return 0; // if the test compiles, it passes.
}