mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-28 00:01:33 -08:00
* Make sure all the test build and run. * Add output specifications to the passing tests. * New testset/conerr runs them all. Copied from Perforce Change: 187248 ServerID: perforce.ravenbrook.com
29 lines
482 B
C
29 lines
482 B
C
/*
|
|
TEST_HEADER
|
|
id = $Id$
|
|
summary = create an arena and then destroy it, twice!
|
|
language = c
|
|
link = testlib.o
|
|
OUTPUT_SPEC
|
|
abort = true
|
|
END_HEADER
|
|
*/
|
|
|
|
#include "testlib.h"
|
|
|
|
static void test(void)
|
|
{
|
|
mps_arena_t arena;
|
|
|
|
cdie(mps_arena_create(&arena, mps_arena_class_vm(), mmqaArenaSIZE), "Create arena");
|
|
mps_arena_destroy(arena);
|
|
comment("Destroy arena once.");
|
|
mps_arena_destroy(arena);
|
|
comment("Destroy arena twice!");
|
|
}
|
|
|
|
int main(void)
|
|
{
|
|
easy_tramp(test);
|
|
return 0;
|
|
}
|