1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-17 00:30:37 -08:00
emacs/mps/qa/argerr/72.c
Richard Tucker ee35fc3b96 Update headers
Copied from Perforce
 Change: 18187
 ServerID: perforce.ravenbrook.com
1997-05-16 15:56:37 +01:00

33 lines
473 B
C

/* TEST_HEADER
summary = null thr_t to thread_dereg
language = c
link = testlib.o
END_HEADER
*/
#include "testlib.h"
#include "arg.h"
void *stackpointer;
static void test(void)
{
mps_space_t space;
mps_thr_t thread;
cdie(mps_space_create(&space), "create space");
cdie(mps_thread_reg(&thread, space), "register thread");
mps_thread_dereg(NULL);
}
int main(void)
{
void *m;
stackpointer=&m; /* hack to get stack pointer */
easy_tramp(test);
return 0;
}