1#include <stdio.h>
2#include <assert.h>
3
4const char *hello_world = "Hello, assertion!";
5
6int main(int argc, const char* argv[])
7{
8 int *null_ptr = 0;
9 printf(format: "%s\n", hello_world);
10 assert(null_ptr); // Assert here.
11}
12

source code of lldb/test/API/functionalities/inferior-assert/main.c