unittest
{
    char** buf = cast(char**) mem.xmalloc(dim * (char*).sizeof);
}