mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-24 14:30:43 -08:00
27 lines
424 B
C
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;
|
|
}
|