repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git]
/
lldb
/
test
/
API
/
functionalities
/
inferior-changed
/
main2.c
blob
d5a223d3aa6d3b25ed1d97f1dc9a16ca5e3ab2d0
1
#include <stdio.h>
2
#include <stdlib.h>
3
4
int
main
(
int
argc
,
const char
*
argv
[])
5
{
6
int
*
int_ptr
= (
int
*)
malloc
(
sizeof
(
int
));
7
*
int_ptr
=
7
;
8
printf
(
"Hello, world!
\n
"
);
9
printf
(
"Now not crash %d
\n
"
, *
int_ptr
);
// Not crash here.
10
}