Sign in
swiftshader
/
SwiftShader
/
f15fd5a1594d758b328e1e8dc51f9f17ba855160
/
.
/
third_party
/
subzero
/
tests_lit
/
asan_tests
/
Input
/
calloc.c
blob: 16dd6d7aca11a40745263e98cf6ee78878f9dd7b [
file
] [
log
] [
blame
]
#include
<stdlib.h>
#include
<string.h>
#include
<stdio.h>
int
main
(
void
)
{
void
*
buf
=
calloc
(
14
,
sizeof
(
int
));
strcpy
(
buf
,
"Hello, world!"
);
printf
(
"%s\n"
,
buf
);
free
(
buf
);
}