1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-14 07:20:35 -08:00
emacs/mps/qa/function/71.c
Richard Tucker b6a5d5ca29 Add hopename
Copied from Perforce
 Change: 19336
 ServerID: perforce.ravenbrook.com
1998-02-23 16:12:09 +00:00

32 lines
458 B
C

/* $HopeName$
TEST_HEADER
summary = create 1000 spaces and destroy each one just before the next is created
language = c
link = testlib.o
END_HEADER
*/
#include "testlib.h"
static void test(void)
{
mps_space_t space;
int p;
die(mps_space_create(&space), "create");
for (p=0; p<1000; p++)
{
mps_space_destroy(space);
die(mps_space_create(&space), "create");
comment("%i", p);
}
}
int main(void)
{
easy_tramp(test);
pass();
return 0;
}