Sign in
llvm
/
llvm-project
/
9e8a71caf02a503006eb08b5cd291adeaa20a9c2
/
.
/
lldb
/
test
/
API
/
functionalities
/
inferior-assert
/
main.c
blob: 45d3bc779c53f6c4c081f1c6769b985e75fbf213 [
file
] [
log
] [
blame
]
#include
<stdio.h>
#include
<assert.h>
const
char
*
hello_world
=
"Hello, assertion!"
;
int
main
(
int
argc
,
const
char
*
argv
[])
{
int
*
null_ptr
=
0
;
printf
(
"%s\n"
,
hello_world
);
assert
(
null_ptr
);
// Assert here.
}