1 #include <ccan/cast/cast.h>
4 /* Note: this *isn't* sizeof(char) on all platforms. */
9 int main(int argc
, char *argv
[])
20 uc
= cast_const(char *, p
);
21 (void) uc
; /* Suppress unused-but-set-variable warning. */
26 #if !HAVE_TYPEOF||!HAVE_BUILTIN_CHOOSE_EXPR||!HAVE_BUILTIN_TYPES_COMPATIBLE_P
27 #error "Unfortunately we don't fail if cast_const can only use size"