You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 lines
194 B
C

#include <stdlib.h>
#include "fmt.h"
#include "byte.h"
#include <assert.h>
int main() {
char* c=fmt_strm_alloca("foo"," bar","\n");
assert(byte_equal(c,sizeof("foo bar\n"),"foo bar\n"));
}