repo.or.cz
/
anjuta-git-plugin.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Updated Spanish translation
[anjuta-git-plugin.git]
/
plugins
/
valgrind
/
bugged-prg-test.c
blob
a17fd223dd51e78057ab3941b588a74a7ffe1993
1
#include <stdlib.h>
2
#include <stdio.h>
3
4
5
struct
_fake
{
6
int
a
;
7
char
*
b
;
8
}
fake
;
9
10
11
12
13
int
main
(
int
argc
,
char
**
argv
)
14
{
15
int
i
;
16
char
**
vec
;
17
18
vec
= (
char
**)
calloc
(
5
,
sizeof
(
char
*));
19
20
for
(
i
=
0
;
i
<
10
;
i
++)
21
vec
[
i
] = (
char
*)
'x'
;
22
23
return
0
;
24
}