1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-17 00:30:37 -08:00
emacs/mps/qa/misc/0.c
Richard Tucker 73c75ac911 Update headers
Copied from Perforce
 Change: 18185
 ServerID: perforce.ravenbrook.com
1997-05-16 15:39:57 +01:00

34 lines
421 B
C

/* 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;
}