repo.or.cz
/
valgrind.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Bug 497723 - forgot to restore callgrind output cleanup
[valgrind.git]
/
dhat
/
tests
/
single.c
blob
bc608273dccf8ae25dfe0690b5940a37e514a4d4
1
// A single allocation (so the root node is the only node in the tree).
2
3
#include <stdlib.h>
4
5
int
main
() {
6
int
*
a
= (
int
*)
malloc
(
16
);
7
a
[
0
] =
0
;
8
a
[
0
] =
1
;
9
a
[
0
] =
2
;
10
return
0
;
11
}