mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-19 01:10:57 -08:00
New assert
Copied from Perforce Change: 21500 ServerID: perforce.ravenbrook.com
This commit is contained in:
parent
26154dc64d
commit
2f1c150d1c
1 changed files with 9 additions and 4 deletions
|
|
@ -1,13 +1,13 @@
|
|||
/*
|
||||
TEST_HEADER
|
||||
id = $HopeName: MMQA_test_function!156.c(trunk.1) $
|
||||
id = $HopeName: MMQA_test_function!156.c(trunk.2) $
|
||||
summary = EPDL fenceposting check: subfree
|
||||
language = c
|
||||
link = testlib.o
|
||||
OUTPUT_SPEC
|
||||
assert = true
|
||||
assertfile P= dbgpool.c
|
||||
assertcond = tag->size == size
|
||||
assertcond = fencepost check on free
|
||||
END_HEADER
|
||||
*/
|
||||
|
||||
|
|
@ -15,12 +15,15 @@ END_HEADER
|
|||
#include "mpscepdl.h"
|
||||
#include "mpsavm.h"
|
||||
|
||||
|
||||
void *stackpointer;
|
||||
mps_arena_t arena;
|
||||
|
||||
static mps_pool_debug_option_s debugOpts = {(void *)"bibblebo", 8};
|
||||
|
||||
static void test(void) {
|
||||
|
||||
static void test(void)
|
||||
{
|
||||
mps_thr_t thread;
|
||||
mps_pool_t pool;
|
||||
mps_addr_t a;
|
||||
|
|
@ -43,7 +46,9 @@ static void test(void) {
|
|||
mps_arena_destroy(arena);
|
||||
}
|
||||
|
||||
int main(void) {
|
||||
|
||||
int main(void)
|
||||
{
|
||||
void *m;
|
||||
stackpointer=&m; /* hack to get stack pointer */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue