gdb-best-friend/examples/multi-process/segv.c

10 lines
77 B
C

int
main (int argc, char *argv[])
{
int *x = 0;
*x = 52;
return 0;
}