Files
mars-libowfat/test/fmt_strm_alloca.c
2025-01-20 18:39:18 +00:00

10 lines
216 B
C

#include "havealloca.h"
#include <libowfat/fmt.h>
#include <libowfat/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"));
}