10 lines
194 B
C
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"));
|
|
}
|