Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
17 lines (14 sloc) 294 Bytes
#include <stdint.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <sys/time.h>
#include "ct/ct.h"
#include "dat.h"
void
cttestallocf()
{
char *got;
got = fmtalloc("hello, %s %d", "world", 5);
assertf(strcmp("hello, world 5", got) == 0, "got \"%s\"", got);
}
Something went wrong with that request. Please try again.