1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-16 08:10:43 -08:00
emacs/mps/qa/function/8.c
Richard Tucker cda39d7153 New unit
I said so

Copied from Perforce
 Change: 17340
 ServerID: perforce.ravenbrook.com
1997-03-21 13:00:01 +00:00

29 lines
337 B
C

/* test create spaces at once until an error results!
language c
link testlib.o
space>10
*/
#include "testlib.h"
static void test(void)
{
mps_space_t space;
int p;
p=0;
while (1)
{
die(mps_space_create(&space), "create");
p = p+1;
report("space", "%i", p);
}
}
int main(void)
{
easy_tramp(test);
return 0;
}