llvm/lldb/test/API/functionalities/inferior-changed/main.c

#include <stdio.h>

int main(int argc, const char* argv[])
{
    int *null_ptr = 0;
    printf("Hello, segfault!\n");
    printf("Now crash %d\n", *null_ptr); // Crash here.
}