tdb2: rename the tools to tdb2torture, tdb2tool and mktdb2
[ccan] / ccan / cast / test / compile_ok-cast_void.c
1 #include <ccan/cast/cast.h>
2
3 static void *remove_void(const void *p)
4 {
5         return cast_const(void *, p);
6 }
7
8 int main(void)
9 {
10         void *p = remove_void("foo");
11         return !p;
12 }