1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-27 23:50:30 -08:00
emacs/mps/qa/misc/0.c
Richard Tucker b6a5d5ca29 Add hopename
Copied from Perforce
 Change: 19336
 ServerID: perforce.ravenbrook.com
1998-02-23 16:12:09 +00:00

35 lines
432 B
C

/* $HopeName$
TEST_HEADER
summary = cause segv and see if has usual effect
language = c
link = testlib.o
OUTPUT_SPEC
memoryerror = true
END_HEADER
*/
#include "mps.h"
#include "testlib.h"
void *stackpointer;
static void test(void)
{
mps_space_t space;
int *p;
cdie(mps_space_create(&space), "create space");
p = NULL;
printf("%i", *p);
}
int main(void)
{
void *m;
stackpointer=&m;
easy_tramp(test);
return 0;
}