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