1#include <stdio.h>
2
3int main(int argc, const char* argv[])
4{
5 int *null_ptr = 0;
6 printf(format: "Hello, segfault!\n");
7 printf(format: "Now crash %d\n", *null_ptr); // Crash here.
8}
9

source code of lldb/test/API/commands/target/basic/a.c