0
0
Fork 0
mirror of https://git.code.sf.net/p/quake/quakeforge synced 2025-03-11 11:51:17 +00:00
quakeforge/tools/qfcc/test/deadbool.r

20 lines
230 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 ();
2020-02-14 11:08:59 +00:00
ent.f = time + 0.1f;
}
}
int main ()
{
return 0; // if the test compiles, it passes.
}