mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-26 07:11:34 -08:00
$HopeName$ -> $Id$ space -> arena mps_arena_create now takes three arguments /usr/local/perl -> /usr/bin/perl -w Missing #include <stdio.h> in several tests Bogus closedir(DIR); in script/clib Copied from Perforce Change: 182199 ServerID: perforce.ravenbrook.com
25 lines
319 B
C
25 lines
319 B
C
/*
|
|
TEST_HEADER
|
|
id = $Id$
|
|
summary = destroy an arena which isn't an arena
|
|
language = c
|
|
link = testlib.o
|
|
END_HEADER
|
|
*/
|
|
|
|
#include "testlib.h"
|
|
|
|
static void test(void)
|
|
{
|
|
mps_arena_t arena;
|
|
|
|
arena = malloc(64);
|
|
mps_arena_destroy(arena);
|
|
comment("Destroy arena.");
|
|
}
|
|
|
|
int main(void)
|
|
{
|
|
easy_tramp(test);
|
|
return 0;
|
|
}
|