llvm/lldb/test/API/commands/target/basic/a.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.
}