start service tasks separately in-case platforms need to perform additional set-up...
[AROS.git] / test / crashtest.c
blob7141995b256c3ff67e5ce764f9eb381890769993
1 /*
2 Copyright © 2013, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 #include <exec/types.h>
7 #include <proto/dos.h>
9 void crashfunc()
11 volatile LONG * ptr = NULL;
13 PutStr("Before crash\n");
14 *ptr = 20;
15 PutStr("After crash\n");
18 int main(int argc, char **argv)
20 PutStr("main() enter\n");
21 crashfunc();
22 PutStr("main() exit\n");
23 return 0;