mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-06 20:00:46 -08:00
Delete eventrep and replay modules -- these have been broken for a long time. Copied from Perforce Change: 194843
31 lines
433 B
C
31 lines
433 B
C
/*
|
|
TEST_HEADER
|
|
id = $Id$
|
|
summary = alloc in an uncreated pool
|
|
language = c
|
|
link = testlib.o
|
|
OUTPUT_SPEC
|
|
assert = true
|
|
assertfile P= mpsi.c
|
|
assertcond = TESTT(Pool, pool)
|
|
END_HEADER
|
|
*/
|
|
|
|
#include <stdlib.h>
|
|
|
|
#include "testlib.h"
|
|
#include "mpscmvff.h"
|
|
|
|
static void test(void)
|
|
{
|
|
mps_pool_t pool = malloc(4096);
|
|
mps_addr_t obj;
|
|
|
|
cdie(mps_alloc(&obj, pool, 152), "allocate");
|
|
}
|
|
|
|
int main(void)
|
|
{
|
|
easy_tramp(test);
|
|
return 0;
|
|
}
|