1 #include <ccan/typesafe_cb/typesafe_cb.h>
4 static void _set_some_value(void *val)
8 #define set_some_value(expr) \
9 _set_some_value(cast_if_type(void *, (expr), (expr), int))
11 int main(int argc, char *argv[])
15 #if !HAVE_TYPEOF||!HAVE_BUILTIN_CHOOSE_EXPR||!HAVE_BUILTIN_TYPES_COMPATIBLE_P
16 #error "Unfortunately we don't fail if cast_if_type is a noop."