Add missing zstd.h to coregrind Makefile.am noinst_HEADERS
[valgrind.git] / memcheck / tests / wrapmalloc.c
blob2307e77df8921dcf1000d52015473f01ba19bdb6
1 #include <stdio.h>
2 #include <stdlib.h>
4 /* Test that a program that has malloc/free interposed in a shared
5 library is also intercepted. */
7 int main ( void )
9 printf ("start\n");
10 void *p = malloc (1024);
11 free (p);
12 printf ("done\n");
13 return 0;