xref: /netbsd-src/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.multi/crashme.c (revision c34236556bea94afcaca1782d7d228301edc3ea0)
1 #include <stdlib.h>
2 #include <stdio.h>
3 
4 int
5 main (int argc, char **argv)
6 {
7   int *foo = NULL;
8 
9   printf ("Oh no, a bug!\n"); /* set breakpoint here */
10 
11   return *foo;
12 }
13