1 #include <ccan/tal/str/str.h>
4 #include <ccan/tal/str/str.c>
5 #include <ccan/tap/tap.h>
8 /* Empty format string: should still terminate! */
15 /* GCC complains about empty format string, complains about non-literal
17 str = tal_fmt(NULL, fmt, "");
18 ok1(!strcmp(str, ""));
19 ok1(tal_count(str) == strlen(str) + 1);