Source

linux-scalability-benchmarks / libowfat / test / fmt_strm_alloca.c

The default branch has multiple heads

Full commit
1
2
3
4
5
6
7
8
9
#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"));
}