1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-25 06:50:46 -08:00
emacs/mps/test/conerr/0.c
Nick Barnes 7acfca905d Branch imports for masters.
Copied from Perforce
 Change: 23678
 ServerID: perforce.ravenbrook.com
2001-10-31 14:40:56 +00:00

27 lines
424 B
C

/*
TEST_HEADER
id = $HopeName$
summary = create a space and then destroy it, twice!
language = c
link = testlib.o
END_HEADER
*/
#include "testlib.h"
static void test(void)
{
mps_space_t space;
cdie(mps_space_create(&space), "Create space");
mps_space_destroy(space);
comment("Destroy space once.");
mps_space_destroy(space);
comment("Destroy space twice!");
}
int main(void)
{
easy_tramp(test);
return 0;
}