1 #include <ccan/container_of/container_of.h>
9 int main(int argc, char *argv[])
11 struct foo foo = { .a = 1, .b = 2 }, *foop;
15 /* b is a char, but intp is an int * */
16 foop = container_of_var(intp, foop, b);
18 #error "Unfortunately we don't fail if we don't have typeof."