2 Copyright © 1995-2014, The AROS Development Team. All rights reserved.
10 int main(int argc
, char **argv
)
14 int *ptr
= (unsigned int *)0xABADC0DE;
18 if (!stricmp("illegal", argv
[1]))
22 ptr
= (int *)atol(argv
[2]);
30 printf("Attempting to divide by zero...\n");
32 printf("Done, result is: %d!\n", c
);
35 printf("Trying illegal access at 0x%p now...\n", ptr
);
37 printf("Done, result is: %d!\n", a
);