Sign in
swiftshader
/
SwiftShader.git
/
ccbb6d16d412d90532d4873b0bfe7f5ee93dbc50
/
.
/
tests_lit
/
asan_tests
/
Input
/
calloc.c
blob: 16dd6d7aca11a40745263e98cf6ee78878f9dd7b [
file
]
#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
);
}