mirror of https://github.com/blanham/liballoc.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
307 B
C++
25 lines
307 B
C++
#include <stdlib.h>
|
|
#include <stdio.h>
|
|
|
|
|
|
|
|
extern int malloc_test( int verbose );
|
|
|
|
|
|
int main( int argc, char *argv )
|
|
{
|
|
int verbose = 0;
|
|
if ( argc > 1 ) verbose = 1;
|
|
|
|
printf("%s\n","memory testing application" );
|
|
|
|
malloc_test( verbose );
|
|
|
|
printf("%s\n","all tests passed!");
|
|
|
|
return EXIT_SUCCESS;
|
|
}
|
|
|
|
|
|
|