root/trunk/umem_test3.c

Revision 24, 145 bytes (checked in by richdawe, 8 years ago)

Add --enable-malloc-replacement option, for using libumem as a malloc replacement

  • Property svn:eol-style set to native
Line 
1 #include <stdio.h>
2 #include <stdlib.h>
3 #include <string.h>
4
5 int
6 main (void)
7 {
8   char *p;
9
10   p = malloc(10);
11   free(p);
12
13   return EXIT_SUCCESS;
14 }
Note: See TracBrowser for help on using the browser.