mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-11 07:42:18 +00:00
215ff61216
This tests the zombie label problem found via ctf.
19 lines
229 B
R
19 lines
229 B
R
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.
|
|
}
|