X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;ds=inline;f=ccan%2Fhashtable%2Ftest%2Fcompile_fail-traverse-arg2.c;fp=ccan%2Fhashtable%2Ftest%2Fcompile_fail-traverse-arg2.c;h=0000000000000000000000000000000000000000;hb=e81b19896fc782b5e9288b16a5311d4ff8ac4cec;hp=5f6ea36a8bd5631a8fdb63ee6bce80441b5e79cc;hpb=0473813acdfad62221ec9f2b9b41bc10d1f4586d;p=ccan diff --git a/ccan/hashtable/test/compile_fail-traverse-arg2.c b/ccan/hashtable/test/compile_fail-traverse-arg2.c deleted file mode 100644 index 5f6ea36a..00000000 --- a/ccan/hashtable/test/compile_fail-traverse-arg2.c +++ /dev/null @@ -1,31 +0,0 @@ -#include -#include -#include - -struct foo { - int i; -}; - -struct bar { - int i; -}; - -static bool fn_foo_foo(struct foo *foo, -#ifdef FAIL - struct foo * -#else - struct bar * -#endif - bar) -{ - return true; -} - -int main(void) -{ - struct hashtable *ht = NULL; - struct bar *bar = NULL; - - hashtable_traverse(ht, struct foo, fn_foo_foo, bar); - return 0; -}