1 #include <ccan/foreach/foreach.h>
2 #include <ccan/tap/tap.h>
5 #include <ccan/foreach/foreach.c>
10 const char *p, *expectp[] = { "hello", "there", "big", "big", "world" };
15 foreach_int(i, 0, 1, 2, 3, 4) {
21 foreach_ptr(p, "hello", "there", "big", "big", "world") {
22 ok1(strcmp(expectp[expecti], p) == 0);