Sign in
swiftshader
/
SwiftShader
/
2568cf76ee2c21dac908ae94aebbeae715c6faef
/
.
/
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
);
}