2 Copyright © 1995-2014, The AROS Development Team. All rights reserved.
6 #include <exec/tasks.h>
8 #include <proto/exec.h>
12 int __nocommandline
= 1;
17 struct Task
*t
= FindTask(NULL
);
19 printf("Attempting weird suicide...\n");
21 /* Simulate runaway stack */
22 t
->tc_SPLower
= (APTR
)10;
23 t
->tc_SPUpper
= (APTR
)16;
25 for (i
= 1; i
< 6; i
++)
28 /* Delay() should eventually end up in core_Dispatch() which should kill us */
32 printf("Stack checking FAILED! GO FIX IT!\n");