blob: 2307e77df8921dcf1000d52015473f01ba19bdb6 [file] [log] [blame]
Elliott Hughesa0664b92017-04-18 17:46:52 -07001#include <stdio.h>
2#include <stdlib.h>
3
4/* Test that a program that has malloc/free interposed in a shared
5 library is also intercepted. */
6
7int main ( void )
8{
9 printf ("start\n");
10 void *p = malloc (1024);
11 free (p);
12 printf ("done\n");
13 return 0;
14}