Sign in
◑
Theme
mingw
/
mingw-w64
/
e6d94feb99ae013ea9523b82a94d5e3380f8f3be
/
.
/
mingw-w64-crt
/
testcases
/
t_fctptr.c
blob: 9a24929a54bf4cf8c480d54e8c35f3c154cce20b [
file
]
#include
<stdlib.h>
#include
<malloc.h>
void
*(*
my_malloc
)(
size_t
)
=
malloc
;
void
(*
my_free
)(
void
*)
=
free
;
int
main
()
{
void
*
p
=
(*
my_malloc
)
(
1024
);
if
(!
p
)
abort
();
(*
my_free
)(
p
);
return
0
;
}