1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-17 08:31:09 -08:00
emacs/mps/qa/conerr/56.c
Richard Tucker e9a5c0fa33 Update headers
Copied from Perforce
 Change: 18186
 ServerID: perforce.ravenbrook.com
1997-05-16 15:43:27 +01:00

38 lines
629 B
C

/* TEST_HEADER
summary = isstale in destroyed space
language = c
link = myfmt.o testlib.o
END_HEADER
*/
#include "testlib.h"
#include "mpscamc.h"
#include "myfmt.h"
static void test(void)
{
mps_space_t space;
mps_ld_s ld;
cdie(mps_space_create(&space), "create space");
mps_ld_reset(&ld, space);
comment("Reset ld.");
mps_ld_add(&ld, space, &space);
comment("Added to ld.");
report("isstale", "%d", mps_ld_isstale(&ld, space, &space));
mps_space_destroy(space);
comment("Destroyed space.");
report("isstale2", "%d", mps_ld_isstale(&ld, space, &space));
}
int main(void)
{
easy_tramp(test);
return 0;
}