test-mallopt.c 200 字节
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12
#include <malloc.h>
#include "test-malloc-api-common.h"

static int test_mallopt()
{
    return mallopt(0, 0) != 0;
}

int main()
{
    return check_and_report("Testing mallopt stub", test_mallopt);
}