1 #include <ccan/typesafe_cb/typesafe_cb.h>
20 static void take_any(struct any
*any
)
24 int main(int argc
, char *argv
[])
26 /* Otherwise we get unused warnings for these. */
27 struct foo
*foo
= NULL
;
28 struct bar
*bar
= NULL
;
29 struct baz
*baz
= NULL
;
31 take_any(typesafe_cb_cast3(struct any
*,
32 struct foo
*, struct bar
*, struct baz
*,
34 take_any(typesafe_cb_cast3(struct any
*,
35 struct foo
*, struct bar
*, struct baz
*,
37 take_any(typesafe_cb_cast3(struct any
*,
38 struct foo
*, struct bar
*, struct baz
*,