/*
Copyright (C) 2002-2009, Parrot Foundation.
$Id: test_c.in 37201 2009-03-08 12:07:48Z fperrad $

figure out if we can use malloc as allocator
*/

#include <@malloc_header@>
#include <stdio.h>

int
main(int argc, char **argv)
{
    void *p = malloc(128);
    int used = mallinfo().uordblks;
    printf("%d\n", used);

    return 0;
}

/*
 * Local variables:
 *   c-file-style: "parrot"
 * End:
 * vim: expandtab shiftwidth=4:
 */
