1 1.6 rillig /* $NetBSD: msg_247_portable.c,v 1.6 2024/09/28 19:09:37 rillig Exp $ */ 2 1.1 rillig # 3 "msg_247_portable.c" 3 1.1 rillig 4 1.6 rillig // Test for message: pointer cast from '%s' to unrelated '%s' [247] 5 1.1 rillig 6 1.5 rillig // In portable mode on platforms where 'ptrdiff_t' is 'long', lint defines the 7 1.5 rillig // rank of the integer types such that _Bool < char < short < int < long < 8 1.5 rillig // long long < int128_t. The rank of the floating points is float < double < 9 1.5 rillig // long double, analogous for the complex types. 10 1.1 rillig // 11 1.1 rillig // See also: 12 1.5 rillig // msg_247.c 13 1.2 rillig // msg_247_ilp32_ldbl64.c 14 1.2 rillig // msg_247_lp64_ldbl128.c 15 1.5 rillig // msg_247_portable_int.c 16 1.1 rillig 17 1.3 rillig /* lint1-only-if: long */ 18 1.1 rillig /* lint1-extra-flags: -c -p -X 351 */ 19 1.1 rillig 20 1.1 rillig typedef double double_array[5]; 21 1.1 rillig typedef struct { 22 1.1 rillig char member; 23 1.1 rillig } char_struct; 24 1.1 rillig typedef struct { 25 1.1 rillig double member; 26 1.1 rillig } double_struct; 27 1.1 rillig typedef union { 28 1.1 rillig char member; 29 1.1 rillig } char_union; 30 1.1 rillig typedef union { 31 1.1 rillig double member; 32 1.1 rillig } double_union; 33 1.1 rillig typedef enum { 34 1.1 rillig CONSTANT 35 1.1 rillig } int_enum; 36 1.1 rillig typedef void (*function_pointer)(void); 37 1.1 rillig 38 1.1 rillig static _Bool *bool_ptr; 39 1.1 rillig static char *char_ptr; 40 1.1 rillig static signed char *schar_ptr; 41 1.1 rillig static unsigned char *uchar_ptr; 42 1.1 rillig static short *short_ptr; 43 1.1 rillig static unsigned short *ushort_ptr; 44 1.1 rillig static int *int_ptr; 45 1.1 rillig static unsigned int *uint_ptr; 46 1.1 rillig static long *long_ptr; 47 1.1 rillig static unsigned long *ulong_ptr; 48 1.1 rillig static long long *llong_ptr; 49 1.1 rillig static unsigned long long *ullong_ptr; 50 1.1 rillig // No int128_t, as that is only supported on LP64 platforms. 51 1.1 rillig static float *float_ptr; 52 1.1 rillig static double *double_ptr; 53 1.1 rillig static long double *ldouble_ptr; 54 1.1 rillig static float _Complex *fcomplex_ptr; 55 1.1 rillig static double _Complex *dcomplex_ptr; 56 1.1 rillig static long double _Complex *lcomplex_ptr; 57 1.1 rillig static void *void_ptr; 58 1.1 rillig static char_struct *char_struct_ptr; 59 1.1 rillig static double_struct *double_struct_ptr; 60 1.1 rillig static char_union *char_union_ptr; 61 1.1 rillig static double_union *double_union_ptr; 62 1.1 rillig static int_enum *enum_ptr; 63 1.1 rillig static double_array *double_array_ptr; 64 1.1 rillig static function_pointer func_ptr; 65 1.1 rillig 66 1.1 rillig void 67 1.1 rillig all_casts(void) 68 1.1 rillig { 69 1.1 rillig bool_ptr = (typeof(bool_ptr))bool_ptr; 70 1.1 rillig bool_ptr = (typeof(bool_ptr))char_ptr; 71 1.6 rillig /* expect+1: warning: pointer cast from 'signed char' to unrelated '_Bool' [247] */ 72 1.1 rillig bool_ptr = (typeof(bool_ptr))schar_ptr; 73 1.1 rillig bool_ptr = (typeof(bool_ptr))uchar_ptr; 74 1.6 rillig /* expect+1: warning: pointer cast from 'short' to unrelated '_Bool' [247] */ 75 1.1 rillig bool_ptr = (typeof(bool_ptr))short_ptr; 76 1.6 rillig /* expect+1: warning: pointer cast from 'unsigned short' to unrelated '_Bool' [247] */ 77 1.1 rillig bool_ptr = (typeof(bool_ptr))ushort_ptr; 78 1.6 rillig /* expect+1: warning: pointer cast from 'int' to unrelated '_Bool' [247] */ 79 1.1 rillig bool_ptr = (typeof(bool_ptr))int_ptr; 80 1.6 rillig /* expect+1: warning: pointer cast from 'unsigned int' to unrelated '_Bool' [247] */ 81 1.1 rillig bool_ptr = (typeof(bool_ptr))uint_ptr; 82 1.6 rillig /* expect+1: warning: pointer cast from 'long' to unrelated '_Bool' [247] */ 83 1.1 rillig bool_ptr = (typeof(bool_ptr))long_ptr; 84 1.6 rillig /* expect+1: warning: pointer cast from 'unsigned long' to unrelated '_Bool' [247] */ 85 1.1 rillig bool_ptr = (typeof(bool_ptr))ulong_ptr; 86 1.6 rillig /* expect+1: warning: pointer cast from 'long long' to unrelated '_Bool' [247] */ 87 1.1 rillig bool_ptr = (typeof(bool_ptr))llong_ptr; 88 1.6 rillig /* expect+1: warning: pointer cast from 'unsigned long long' to unrelated '_Bool' [247] */ 89 1.1 rillig bool_ptr = (typeof(bool_ptr))ullong_ptr; 90 1.6 rillig /* expect+1: warning: pointer cast from 'float' to unrelated '_Bool' [247] */ 91 1.1 rillig bool_ptr = (typeof(bool_ptr))float_ptr; 92 1.6 rillig /* expect+1: warning: pointer cast from 'double' to unrelated '_Bool' [247] */ 93 1.1 rillig bool_ptr = (typeof(bool_ptr))double_ptr; 94 1.6 rillig /* expect+1: warning: pointer cast from 'long double' to unrelated '_Bool' [247] */ 95 1.1 rillig bool_ptr = (typeof(bool_ptr))ldouble_ptr; 96 1.6 rillig /* expect+1: warning: pointer cast from 'float _Complex' to unrelated '_Bool' [247] */ 97 1.1 rillig bool_ptr = (typeof(bool_ptr))fcomplex_ptr; 98 1.6 rillig /* expect+1: warning: pointer cast from 'double _Complex' to unrelated '_Bool' [247] */ 99 1.1 rillig bool_ptr = (typeof(bool_ptr))dcomplex_ptr; 100 1.6 rillig /* expect+1: warning: pointer cast from 'long double _Complex' to unrelated '_Bool' [247] */ 101 1.1 rillig bool_ptr = (typeof(bool_ptr))lcomplex_ptr; 102 1.1 rillig bool_ptr = (typeof(bool_ptr))void_ptr; 103 1.6 rillig /* expect+1: warning: pointer cast from 'struct typedef char_struct' to unrelated '_Bool' [247] */ 104 1.1 rillig bool_ptr = (typeof(bool_ptr))char_struct_ptr; 105 1.6 rillig /* expect+1: warning: pointer cast from 'struct typedef double_struct' to unrelated '_Bool' [247] */ 106 1.1 rillig bool_ptr = (typeof(bool_ptr))double_struct_ptr; 107 1.6 rillig /* expect+1: warning: pointer cast from 'union typedef char_union' to unrelated '_Bool' [247] */ 108 1.1 rillig bool_ptr = (typeof(bool_ptr))char_union_ptr; 109 1.6 rillig /* expect+1: warning: pointer cast from 'union typedef double_union' to unrelated '_Bool' [247] */ 110 1.1 rillig bool_ptr = (typeof(bool_ptr))double_union_ptr; 111 1.6 rillig /* expect+1: warning: pointer cast from 'enum typedef int_enum' to unrelated '_Bool' [247] */ 112 1.1 rillig bool_ptr = (typeof(bool_ptr))enum_ptr; 113 1.6 rillig /* expect+1: warning: pointer cast from 'array[5] of double' to unrelated '_Bool' [247] */ 114 1.1 rillig bool_ptr = (typeof(bool_ptr))double_array_ptr; 115 1.1 rillig /* expect+1: warning: converting 'pointer to function(void) returning void' to 'pointer to _Bool' is questionable [229] */ 116 1.1 rillig bool_ptr = (typeof(bool_ptr))func_ptr; 117 1.1 rillig 118 1.1 rillig char_ptr = (typeof(char_ptr))bool_ptr; 119 1.1 rillig char_ptr = (typeof(char_ptr))char_ptr; 120 1.1 rillig char_ptr = (typeof(char_ptr))schar_ptr; 121 1.1 rillig char_ptr = (typeof(char_ptr))uchar_ptr; 122 1.1 rillig char_ptr = (typeof(char_ptr))short_ptr; 123 1.1 rillig char_ptr = (typeof(char_ptr))ushort_ptr; 124 1.1 rillig char_ptr = (typeof(char_ptr))int_ptr; 125 1.1 rillig char_ptr = (typeof(char_ptr))uint_ptr; 126 1.1 rillig char_ptr = (typeof(char_ptr))long_ptr; 127 1.1 rillig char_ptr = (typeof(char_ptr))ulong_ptr; 128 1.1 rillig char_ptr = (typeof(char_ptr))llong_ptr; 129 1.1 rillig char_ptr = (typeof(char_ptr))ullong_ptr; 130 1.1 rillig char_ptr = (typeof(char_ptr))float_ptr; 131 1.1 rillig char_ptr = (typeof(char_ptr))double_ptr; 132 1.1 rillig char_ptr = (typeof(char_ptr))ldouble_ptr; 133 1.1 rillig char_ptr = (typeof(char_ptr))fcomplex_ptr; 134 1.1 rillig char_ptr = (typeof(char_ptr))dcomplex_ptr; 135 1.1 rillig char_ptr = (typeof(char_ptr))lcomplex_ptr; 136 1.1 rillig char_ptr = (typeof(char_ptr))void_ptr; 137 1.1 rillig char_ptr = (typeof(char_ptr))char_struct_ptr; 138 1.1 rillig char_ptr = (typeof(char_ptr))double_struct_ptr; 139 1.1 rillig char_ptr = (typeof(char_ptr))char_union_ptr; 140 1.1 rillig char_ptr = (typeof(char_ptr))double_union_ptr; 141 1.1 rillig char_ptr = (typeof(char_ptr))enum_ptr; 142 1.1 rillig char_ptr = (typeof(char_ptr))double_array_ptr; 143 1.1 rillig /* expect+1: warning: converting 'pointer to function(void) returning void' to 'pointer to char' is questionable [229] */ 144 1.1 rillig char_ptr = (typeof(char_ptr))func_ptr; 145 1.1 rillig 146 1.6 rillig /* expect+1: warning: pointer cast from '_Bool' to unrelated 'signed char' [247] */ 147 1.1 rillig schar_ptr = (typeof(schar_ptr))bool_ptr; 148 1.1 rillig schar_ptr = (typeof(schar_ptr))char_ptr; 149 1.1 rillig schar_ptr = (typeof(schar_ptr))schar_ptr; 150 1.1 rillig schar_ptr = (typeof(schar_ptr))uchar_ptr; 151 1.6 rillig /* expect+1: warning: pointer cast from 'short' to unrelated 'signed char' [247] */ 152 1.1 rillig schar_ptr = (typeof(schar_ptr))short_ptr; 153 1.6 rillig /* expect+1: warning: pointer cast from 'unsigned short' to unrelated 'signed char' [247] */ 154 1.1 rillig schar_ptr = (typeof(schar_ptr))ushort_ptr; 155 1.6 rillig /* expect+1: warning: pointer cast from 'int' to unrelated 'signed char' [247] */ 156 1.1 rillig schar_ptr = (typeof(schar_ptr))int_ptr; 157 1.6 rillig /* expect+1: warning: pointer cast from 'unsigned int' to unrelated 'signed char' [247] */ 158 1.1 rillig schar_ptr = (typeof(schar_ptr))uint_ptr; 159 1.6 rillig /* expect+1: warning: pointer cast from 'long' to unrelated 'signed char' [247] */ 160 1.1 rillig schar_ptr = (typeof(schar_ptr))long_ptr; 161 1.6 rillig /* expect+1: warning: pointer cast from 'unsigned long' to unrelated 'signed char' [247] */ 162 1.1 rillig schar_ptr = (typeof(schar_ptr))ulong_ptr; 163 1.6 rillig /* expect+1: warning: pointer cast from 'long long' to unrelated 'signed char' [247] */ 164 1.1 rillig schar_ptr = (typeof(schar_ptr))llong_ptr; 165 1.6 rillig /* expect+1: warning: pointer cast from 'unsigned long long' to unrelated 'signed char' [247] */ 166 1.1 rillig schar_ptr = (typeof(schar_ptr))ullong_ptr; 167 1.6 rillig /* expect+1: warning: pointer cast from 'float' to unrelated 'signed char' [247] */ 168 1.1 rillig schar_ptr = (typeof(schar_ptr))float_ptr; 169 1.6 rillig /* expect+1: warning: pointer cast from 'double' to unrelated 'signed char' [247] */ 170 1.1 rillig schar_ptr = (typeof(schar_ptr))double_ptr; 171 1.6 rillig /* expect+1: warning: pointer cast from 'long double' to unrelated 'signed char' [247] */ 172 1.1 rillig schar_ptr = (typeof(schar_ptr))ldouble_ptr; 173 1.6 rillig /* expect+1: warning: pointer cast from 'float _Complex' to unrelated 'signed char' [247] */ 174 1.1 rillig schar_ptr = (typeof(schar_ptr))fcomplex_ptr; 175 1.6 rillig /* expect+1: warning: pointer cast from 'double _Complex' to unrelated 'signed char' [247] */ 176 1.1 rillig schar_ptr = (typeof(schar_ptr))dcomplex_ptr; 177 1.6 rillig /* expect+1: warning: pointer cast from 'long double _Complex' to unrelated 'signed char' [247] */ 178 1.1 rillig schar_ptr = (typeof(schar_ptr))lcomplex_ptr; 179 1.1 rillig schar_ptr = (typeof(schar_ptr))void_ptr; 180 1.6 rillig /* expect+1: warning: pointer cast from 'struct typedef char_struct' to unrelated 'signed char' [247] */ 181 1.1 rillig schar_ptr = (typeof(schar_ptr))char_struct_ptr; 182 1.6 rillig /* expect+1: warning: pointer cast from 'struct typedef double_struct' to unrelated 'signed char' [247] */ 183 1.1 rillig schar_ptr = (typeof(schar_ptr))double_struct_ptr; 184 1.6 rillig /* expect+1: warning: pointer cast from 'union typedef char_union' to unrelated 'signed char' [247] */ 185 1.1 rillig schar_ptr = (typeof(schar_ptr))char_union_ptr; 186 1.6 rillig /* expect+1: warning: pointer cast from 'union typedef double_union' to unrelated 'signed char' [247] */ 187 1.1 rillig schar_ptr = (typeof(schar_ptr))double_union_ptr; 188 1.6 rillig /* expect+1: warning: pointer cast from 'enum typedef int_enum' to unrelated 'signed char' [247] */ 189 1.1 rillig schar_ptr = (typeof(schar_ptr))enum_ptr; 190 1.6 rillig /* expect+1: warning: pointer cast from 'array[5] of double' to unrelated 'signed char' [247] */ 191 1.1 rillig schar_ptr = (typeof(schar_ptr))double_array_ptr; 192 1.1 rillig /* expect+1: warning: converting 'pointer to function(void) returning void' to 'pointer to signed char' is questionable [229] */ 193 1.1 rillig schar_ptr = (typeof(schar_ptr))func_ptr; 194 1.1 rillig 195 1.1 rillig uchar_ptr = (typeof(uchar_ptr))bool_ptr; 196 1.1 rillig uchar_ptr = (typeof(uchar_ptr))char_ptr; 197 1.1 rillig uchar_ptr = (typeof(uchar_ptr))schar_ptr; 198 1.1 rillig uchar_ptr = (typeof(uchar_ptr))uchar_ptr; 199 1.1 rillig uchar_ptr = (typeof(uchar_ptr))short_ptr; 200 1.1 rillig uchar_ptr = (typeof(uchar_ptr))ushort_ptr; 201 1.1 rillig uchar_ptr = (typeof(uchar_ptr))int_ptr; 202 1.1 rillig uchar_ptr = (typeof(uchar_ptr))uint_ptr; 203 1.1 rillig uchar_ptr = (typeof(uchar_ptr))long_ptr; 204 1.1 rillig uchar_ptr = (typeof(uchar_ptr))ulong_ptr; 205 1.1 rillig uchar_ptr = (typeof(uchar_ptr))llong_ptr; 206 1.1 rillig uchar_ptr = (typeof(uchar_ptr))ullong_ptr; 207 1.1 rillig uchar_ptr = (typeof(uchar_ptr))float_ptr; 208 1.1 rillig uchar_ptr = (typeof(uchar_ptr))double_ptr; 209 1.1 rillig uchar_ptr = (typeof(uchar_ptr))ldouble_ptr; 210 1.1 rillig uchar_ptr = (typeof(uchar_ptr))fcomplex_ptr; 211 1.1 rillig uchar_ptr = (typeof(uchar_ptr))dcomplex_ptr; 212 1.1 rillig uchar_ptr = (typeof(uchar_ptr))lcomplex_ptr; 213 1.1 rillig uchar_ptr = (typeof(uchar_ptr))void_ptr; 214 1.1 rillig uchar_ptr = (typeof(uchar_ptr))char_struct_ptr; 215 1.1 rillig uchar_ptr = (typeof(uchar_ptr))double_struct_ptr; 216 1.1 rillig uchar_ptr = (typeof(uchar_ptr))char_union_ptr; 217 1.1 rillig uchar_ptr = (typeof(uchar_ptr))double_union_ptr; 218 1.1 rillig uchar_ptr = (typeof(uchar_ptr))enum_ptr; 219 1.1 rillig uchar_ptr = (typeof(uchar_ptr))double_array_ptr; 220 1.1 rillig /* expect+1: warning: converting 'pointer to function(void) returning void' to 'pointer to unsigned char' is questionable [229] */ 221 1.1 rillig uchar_ptr = (typeof(uchar_ptr))func_ptr; 222 1.1 rillig 223 1.6 rillig /* expect+1: warning: pointer cast from '_Bool' to unrelated 'short' [247] */ 224 1.1 rillig short_ptr = (typeof(short_ptr))bool_ptr; 225 1.1 rillig short_ptr = (typeof(short_ptr))char_ptr; 226 1.6 rillig /* expect+1: warning: pointer cast from 'signed char' to unrelated 'short' [247] */ 227 1.1 rillig short_ptr = (typeof(short_ptr))schar_ptr; 228 1.1 rillig short_ptr = (typeof(short_ptr))uchar_ptr; 229 1.1 rillig short_ptr = (typeof(short_ptr))short_ptr; 230 1.1 rillig short_ptr = (typeof(short_ptr))ushort_ptr; 231 1.6 rillig /* expect+1: warning: pointer cast from 'int' to unrelated 'short' [247] */ 232 1.1 rillig short_ptr = (typeof(short_ptr))int_ptr; 233 1.6 rillig /* expect+1: warning: pointer cast from 'unsigned int' to unrelated 'short' [247] */ 234 1.1 rillig short_ptr = (typeof(short_ptr))uint_ptr; 235 1.6 rillig /* expect+1: warning: pointer cast from 'long' to unrelated 'short' [247] */ 236 1.1 rillig short_ptr = (typeof(short_ptr))long_ptr; 237 1.6 rillig /* expect+1: warning: pointer cast from 'unsigned long' to unrelated 'short' [247] */ 238 1.1 rillig short_ptr = (typeof(short_ptr))ulong_ptr; 239 1.6 rillig /* expect+1: warning: pointer cast from 'long long' to unrelated 'short' [247] */ 240 1.1 rillig short_ptr = (typeof(short_ptr))llong_ptr; 241 1.6 rillig /* expect+1: warning: pointer cast from 'unsigned long long' to unrelated 'short' [247] */ 242 1.1 rillig short_ptr = (typeof(short_ptr))ullong_ptr; 243 1.6 rillig /* expect+1: warning: pointer cast from 'float' to unrelated 'short' [247] */ 244 1.1 rillig short_ptr = (typeof(short_ptr))float_ptr; 245 1.6 rillig /* expect+1: warning: pointer cast from 'double' to unrelated 'short' [247] */ 246 1.1 rillig short_ptr = (typeof(short_ptr))double_ptr; 247 1.6 rillig /* expect+1: warning: pointer cast from 'long double' to unrelated 'short' [247] */ 248 1.1 rillig short_ptr = (typeof(short_ptr))ldouble_ptr; 249 1.6 rillig /* expect+1: warning: pointer cast from 'float _Complex' to unrelated 'short' [247] */ 250 1.1 rillig short_ptr = (typeof(short_ptr))fcomplex_ptr; 251 1.6 rillig /* expect+1: warning: pointer cast from 'double _Complex' to unrelated 'short' [247] */ 252 1.1 rillig short_ptr = (typeof(short_ptr))dcomplex_ptr; 253 1.6 rillig /* expect+1: warning: pointer cast from 'long double _Complex' to unrelated 'short' [247] */ 254 1.1 rillig short_ptr = (typeof(short_ptr))lcomplex_ptr; 255 1.1 rillig short_ptr = (typeof(short_ptr))void_ptr; 256 1.6 rillig /* expect+1: warning: pointer cast from 'struct typedef char_struct' to unrelated 'short' [247] */ 257 1.1 rillig short_ptr = (typeof(short_ptr))char_struct_ptr; 258 1.6 rillig /* expect+1: warning: pointer cast from 'struct typedef double_struct' to unrelated 'short' [247] */ 259 1.1 rillig short_ptr = (typeof(short_ptr))double_struct_ptr; 260 1.6 rillig /* expect+1: warning: pointer cast from 'union typedef char_union' to unrelated 'short' [247] */ 261 1.1 rillig short_ptr = (typeof(short_ptr))char_union_ptr; 262 1.6 rillig /* expect+1: warning: pointer cast from 'union typedef double_union' to unrelated 'short' [247] */ 263 1.1 rillig short_ptr = (typeof(short_ptr))double_union_ptr; 264 1.6 rillig /* expect+1: warning: pointer cast from 'enum typedef int_enum' to unrelated 'short' [247] */ 265 1.1 rillig short_ptr = (typeof(short_ptr))enum_ptr; 266 1.6 rillig /* expect+1: warning: pointer cast from 'array[5] of double' to unrelated 'short' [247] */ 267 1.1 rillig short_ptr = (typeof(short_ptr))double_array_ptr; 268 1.1 rillig /* expect+1: warning: converting 'pointer to function(void) returning void' to 'pointer to short' is questionable [229] */ 269 1.1 rillig short_ptr = (typeof(short_ptr))func_ptr; 270 1.1 rillig 271 1.6 rillig /* expect+1: warning: pointer cast from '_Bool' to unrelated 'unsigned short' [247] */ 272 1.1 rillig ushort_ptr = (typeof(ushort_ptr))bool_ptr; 273 1.1 rillig ushort_ptr = (typeof(ushort_ptr))char_ptr; 274 1.6 rillig /* expect+1: warning: pointer cast from 'signed char' to unrelated 'unsigned short' [247] */ 275 1.1 rillig ushort_ptr = (typeof(ushort_ptr))schar_ptr; 276 1.1 rillig ushort_ptr = (typeof(ushort_ptr))uchar_ptr; 277 1.1 rillig ushort_ptr = (typeof(ushort_ptr))short_ptr; 278 1.1 rillig ushort_ptr = (typeof(ushort_ptr))ushort_ptr; 279 1.6 rillig /* expect+1: warning: pointer cast from 'int' to unrelated 'unsigned short' [247] */ 280 1.1 rillig ushort_ptr = (typeof(ushort_ptr))int_ptr; 281 1.6 rillig /* expect+1: warning: pointer cast from 'unsigned int' to unrelated 'unsigned short' [247] */ 282 1.1 rillig ushort_ptr = (typeof(ushort_ptr))uint_ptr; 283 1.6 rillig /* expect+1: warning: pointer cast from 'long' to unrelated 'unsigned short' [247] */ 284 1.1 rillig ushort_ptr = (typeof(ushort_ptr))long_ptr; 285 1.6 rillig /* expect+1: warning: pointer cast from 'unsigned long' to unrelated 'unsigned short' [247] */ 286 1.1 rillig ushort_ptr = (typeof(ushort_ptr))ulong_ptr; 287 1.6 rillig /* expect+1: warning: pointer cast from 'long long' to unrelated 'unsigned short' [247] */ 288 1.1 rillig ushort_ptr = (typeof(ushort_ptr))llong_ptr; 289 1.6 rillig /* expect+1: warning: pointer cast from 'unsigned long long' to unrelated 'unsigned short' [247] */ 290 1.1 rillig ushort_ptr = (typeof(ushort_ptr))ullong_ptr; 291 1.6 rillig /* expect+1: warning: pointer cast from 'float' to unrelated 'unsigned short' [247] */ 292 1.1 rillig ushort_ptr = (typeof(ushort_ptr))float_ptr; 293 1.6 rillig /* expect+1: warning: pointer cast from 'double' to unrelated 'unsigned short' [247] */ 294 1.1 rillig ushort_ptr = (typeof(ushort_ptr))double_ptr; 295 1.6 rillig /* expect+1: warning: pointer cast from 'long double' to unrelated 'unsigned short' [247] */ 296 1.1 rillig ushort_ptr = (typeof(ushort_ptr))ldouble_ptr; 297 1.6 rillig /* expect+1: warning: pointer cast from 'float _Complex' to unrelated 'unsigned short' [247] */ 298 1.1 rillig ushort_ptr = (typeof(ushort_ptr))fcomplex_ptr; 299 1.6 rillig /* expect+1: warning: pointer cast from 'double _Complex' to unrelated 'unsigned short' [247] */ 300 1.1 rillig ushort_ptr = (typeof(ushort_ptr))dcomplex_ptr; 301 1.6 rillig /* expect+1: warning: pointer cast from 'long double _Complex' to unrelated 'unsigned short' [247] */ 302 1.1 rillig ushort_ptr = (typeof(ushort_ptr))lcomplex_ptr; 303 1.1 rillig ushort_ptr = (typeof(ushort_ptr))void_ptr; 304 1.6 rillig /* expect+1: warning: pointer cast from 'struct typedef char_struct' to unrelated 'unsigned short' [247] */ 305 1.1 rillig ushort_ptr = (typeof(ushort_ptr))char_struct_ptr; 306 1.6 rillig /* expect+1: warning: pointer cast from 'struct typedef double_struct' to unrelated 'unsigned short' [247] */ 307 1.1 rillig ushort_ptr = (typeof(ushort_ptr))double_struct_ptr; 308 1.6 rillig /* expect+1: warning: pointer cast from 'union typedef char_union' to unrelated 'unsigned short' [247] */ 309 1.1 rillig ushort_ptr = (typeof(ushort_ptr))char_union_ptr; 310 1.6 rillig /* expect+1: warning: pointer cast from 'union typedef double_union' to unrelated 'unsigned short' [247] */ 311 1.1 rillig ushort_ptr = (typeof(ushort_ptr))double_union_ptr; 312 1.6 rillig /* expect+1: warning: pointer cast from 'enum typedef int_enum' to unrelated 'unsigned short' [247] */ 313 1.1 rillig ushort_ptr = (typeof(ushort_ptr))enum_ptr; 314 1.6 rillig /* expect+1: warning: pointer cast from 'array[5] of double' to unrelated 'unsigned short' [247] */ 315 1.1 rillig ushort_ptr = (typeof(ushort_ptr))double_array_ptr; 316 1.1 rillig /* expect+1: warning: converting 'pointer to function(void) returning void' to 'pointer to unsigned short' is questionable [229] */ 317 1.1 rillig ushort_ptr = (typeof(ushort_ptr))func_ptr; 318 1.1 rillig 319 1.6 rillig /* expect+1: warning: pointer cast from '_Bool' to unrelated 'int' [247] */ 320 1.1 rillig int_ptr = (typeof(int_ptr))bool_ptr; 321 1.1 rillig int_ptr = (typeof(int_ptr))char_ptr; 322 1.6 rillig /* expect+1: warning: pointer cast from 'signed char' to unrelated 'int' [247] */ 323 1.1 rillig int_ptr = (typeof(int_ptr))schar_ptr; 324 1.1 rillig int_ptr = (typeof(int_ptr))uchar_ptr; 325 1.6 rillig /* expect+1: warning: pointer cast from 'short' to unrelated 'int' [247] */ 326 1.1 rillig int_ptr = (typeof(int_ptr))short_ptr; 327 1.6 rillig /* expect+1: warning: pointer cast from 'unsigned short' to unrelated 'int' [247] */ 328 1.1 rillig int_ptr = (typeof(int_ptr))ushort_ptr; 329 1.1 rillig int_ptr = (typeof(int_ptr))int_ptr; 330 1.1 rillig int_ptr = (typeof(int_ptr))uint_ptr; 331 1.6 rillig /* expect+1: warning: pointer cast from 'long' to unrelated 'int' [247] */ 332 1.1 rillig int_ptr = (typeof(int_ptr))long_ptr; 333 1.6 rillig /* expect+1: warning: pointer cast from 'unsigned long' to unrelated 'int' [247] */ 334 1.1 rillig int_ptr = (typeof(int_ptr))ulong_ptr; 335 1.6 rillig /* expect+1: warning: pointer cast from 'long long' to unrelated 'int' [247] */ 336 1.1 rillig int_ptr = (typeof(int_ptr))llong_ptr; 337 1.6 rillig /* expect+1: warning: pointer cast from 'unsigned long long' to unrelated 'int' [247] */ 338 1.1 rillig int_ptr = (typeof(int_ptr))ullong_ptr; 339 1.6 rillig /* expect+1: warning: pointer cast from 'float' to unrelated 'int' [247] */ 340 1.1 rillig int_ptr = (typeof(int_ptr))float_ptr; 341 1.6 rillig /* expect+1: warning: pointer cast from 'double' to unrelated 'int' [247] */ 342 1.1 rillig int_ptr = (typeof(int_ptr))double_ptr; 343 1.6 rillig /* expect+1: warning: pointer cast from 'long double' to unrelated 'int' [247] */ 344 1.1 rillig int_ptr = (typeof(int_ptr))ldouble_ptr; 345 1.6 rillig /* expect+1: warning: pointer cast from 'float _Complex' to unrelated 'int' [247] */ 346 1.1 rillig int_ptr = (typeof(int_ptr))fcomplex_ptr; 347 1.6 rillig /* expect+1: warning: pointer cast from 'double _Complex' to unrelated 'int' [247] */ 348 1.1 rillig int_ptr = (typeof(int_ptr))dcomplex_ptr; 349 1.6 rillig /* expect+1: warning: pointer cast from 'long double _Complex' to unrelated 'int' [247] */ 350 1.1 rillig int_ptr = (typeof(int_ptr))lcomplex_ptr; 351 1.1 rillig int_ptr = (typeof(int_ptr))void_ptr; 352 1.6 rillig /* expect+1: warning: pointer cast from 'struct typedef char_struct' to unrelated 'int' [247] */ 353 1.1 rillig int_ptr = (typeof(int_ptr))char_struct_ptr; 354 1.6 rillig /* expect+1: warning: pointer cast from 'struct typedef double_struct' to unrelated 'int' [247] */ 355 1.1 rillig int_ptr = (typeof(int_ptr))double_struct_ptr; 356 1.6 rillig /* expect+1: warning: pointer cast from 'union typedef char_union' to unrelated 'int' [247] */ 357 1.1 rillig int_ptr = (typeof(int_ptr))char_union_ptr; 358 1.6 rillig /* expect+1: warning: pointer cast from 'union typedef double_union' to unrelated 'int' [247] */ 359 1.1 rillig int_ptr = (typeof(int_ptr))double_union_ptr; 360 1.1 rillig int_ptr = (typeof(int_ptr))enum_ptr; 361 1.6 rillig /* expect+1: warning: pointer cast from 'array[5] of double' to unrelated 'int' [247] */ 362 1.1 rillig int_ptr = (typeof(int_ptr))double_array_ptr; 363 1.1 rillig /* expect+1: warning: converting 'pointer to function(void) returning void' to 'pointer to int' is questionable [229] */ 364 1.1 rillig int_ptr = (typeof(int_ptr))func_ptr; 365 1.1 rillig 366 1.6 rillig /* expect+1: warning: pointer cast from '_Bool' to unrelated 'unsigned int' [247] */ 367 1.1 rillig uint_ptr = (typeof(uint_ptr))bool_ptr; 368 1.1 rillig uint_ptr = (typeof(uint_ptr))char_ptr; 369 1.6 rillig /* expect+1: warning: pointer cast from 'signed char' to unrelated 'unsigned int' [247] */ 370 1.1 rillig uint_ptr = (typeof(uint_ptr))schar_ptr; 371 1.1 rillig uint_ptr = (typeof(uint_ptr))uchar_ptr; 372 1.6 rillig /* expect+1: warning: pointer cast from 'short' to unrelated 'unsigned int' [247] */ 373 1.1 rillig uint_ptr = (typeof(uint_ptr))short_ptr; 374 1.6 rillig /* expect+1: warning: pointer cast from 'unsigned short' to unrelated 'unsigned int' [247] */ 375 1.1 rillig uint_ptr = (typeof(uint_ptr))ushort_ptr; 376 1.1 rillig uint_ptr = (typeof(uint_ptr))int_ptr; 377 1.1 rillig uint_ptr = (typeof(uint_ptr))uint_ptr; 378 1.6 rillig /* expect+1: warning: pointer cast from 'long' to unrelated 'unsigned int' [247] */ 379 1.1 rillig uint_ptr = (typeof(uint_ptr))long_ptr; 380 1.6 rillig /* expect+1: warning: pointer cast from 'unsigned long' to unrelated 'unsigned int' [247] */ 381 1.1 rillig uint_ptr = (typeof(uint_ptr))ulong_ptr; 382 1.6 rillig /* expect+1: warning: pointer cast from 'long long' to unrelated 'unsigned int' [247] */ 383 1.1 rillig uint_ptr = (typeof(uint_ptr))llong_ptr; 384 1.6 rillig /* expect+1: warning: pointer cast from 'unsigned long long' to unrelated 'unsigned int' [247] */ 385 1.1 rillig uint_ptr = (typeof(uint_ptr))ullong_ptr; 386 1.6 rillig /* expect+1: warning: pointer cast from 'float' to unrelated 'unsigned int' [247] */ 387 1.1 rillig uint_ptr = (typeof(uint_ptr))float_ptr; 388 1.6 rillig /* expect+1: warning: pointer cast from 'double' to unrelated 'unsigned int' [247] */ 389 1.1 rillig uint_ptr = (typeof(uint_ptr))double_ptr; 390 1.6 rillig /* expect+1: warning: pointer cast from 'long double' to unrelated 'unsigned int' [247] */ 391 1.1 rillig uint_ptr = (typeof(uint_ptr))ldouble_ptr; 392 1.6 rillig /* expect+1: warning: pointer cast from 'float _Complex' to unrelated 'unsigned int' [247] */ 393 1.1 rillig uint_ptr = (typeof(uint_ptr))fcomplex_ptr; 394 1.6 rillig /* expect+1: warning: pointer cast from 'double _Complex' to unrelated 'unsigned int' [247] */ 395 1.1 rillig uint_ptr = (typeof(uint_ptr))dcomplex_ptr; 396 1.6 rillig /* expect+1: warning: pointer cast from 'long double _Complex' to unrelated 'unsigned int' [247] */ 397 1.1 rillig uint_ptr = (typeof(uint_ptr))lcomplex_ptr; 398 1.1 rillig uint_ptr = (typeof(uint_ptr))void_ptr; 399 1.6 rillig /* expect+1: warning: pointer cast from 'struct typedef char_struct' to unrelated 'unsigned int' [247] */ 400 1.1 rillig uint_ptr = (typeof(uint_ptr))char_struct_ptr; 401 1.6 rillig /* expect+1: warning: pointer cast from 'struct typedef double_struct' to unrelated 'unsigned int' [247] */ 402 1.1 rillig uint_ptr = (typeof(uint_ptr))double_struct_ptr; 403 1.6 rillig /* expect+1: warning: pointer cast from 'union typedef char_union' to unrelated 'unsigned int' [247] */ 404 1.1 rillig uint_ptr = (typeof(uint_ptr))char_union_ptr; 405 1.6 rillig /* expect+1: warning: pointer cast from 'union typedef double_union' to unrelated 'unsigned int' [247] */ 406 1.1 rillig uint_ptr = (typeof(uint_ptr))double_union_ptr; 407 1.1 rillig uint_ptr = (typeof(uint_ptr))enum_ptr; 408 1.6 rillig /* expect+1: warning: pointer cast from 'array[5] of double' to unrelated 'unsigned int' [247] */ 409 1.1 rillig uint_ptr = (typeof(uint_ptr))double_array_ptr; 410 1.1 rillig /* expect+1: warning: converting 'pointer to function(void) returning void' to 'pointer to unsigned int' is questionable [229] */ 411 1.1 rillig uint_ptr = (typeof(uint_ptr))func_ptr; 412 1.1 rillig 413 1.6 rillig /* expect+1: warning: pointer cast from '_Bool' to unrelated 'long' [247] */ 414 1.1 rillig long_ptr = (typeof(long_ptr))bool_ptr; 415 1.1 rillig long_ptr = (typeof(long_ptr))char_ptr; 416 1.6 rillig /* expect+1: warning: pointer cast from 'signed char' to unrelated 'long' [247] */ 417 1.1 rillig long_ptr = (typeof(long_ptr))schar_ptr; 418 1.1 rillig long_ptr = (typeof(long_ptr))uchar_ptr; 419 1.6 rillig /* expect+1: warning: pointer cast from 'short' to unrelated 'long' [247] */ 420 1.1 rillig long_ptr = (typeof(long_ptr))short_ptr; 421 1.6 rillig /* expect+1: warning: pointer cast from 'unsigned short' to unrelated 'long' [247] */ 422 1.1 rillig long_ptr = (typeof(long_ptr))ushort_ptr; 423 1.6 rillig /* expect+1: warning: pointer cast from 'int' to unrelated 'long' [247] */ 424 1.1 rillig long_ptr = (typeof(long_ptr))int_ptr; 425 1.6 rillig /* expect+1: warning: pointer cast from 'unsigned int' to unrelated 'long' [247] */ 426 1.1 rillig long_ptr = (typeof(long_ptr))uint_ptr; 427 1.1 rillig long_ptr = (typeof(long_ptr))long_ptr; 428 1.1 rillig long_ptr = (typeof(long_ptr))ulong_ptr; 429 1.6 rillig /* expect+1: warning: pointer cast from 'long long' to unrelated 'long' [247] */ 430 1.1 rillig long_ptr = (typeof(long_ptr))llong_ptr; 431 1.6 rillig /* expect+1: warning: pointer cast from 'unsigned long long' to unrelated 'long' [247] */ 432 1.1 rillig long_ptr = (typeof(long_ptr))ullong_ptr; 433 1.6 rillig /* expect+1: warning: pointer cast from 'float' to unrelated 'long' [247] */ 434 1.1 rillig long_ptr = (typeof(long_ptr))float_ptr; 435 1.6 rillig /* expect+1: warning: pointer cast from 'double' to unrelated 'long' [247] */ 436 1.1 rillig long_ptr = (typeof(long_ptr))double_ptr; 437 1.6 rillig /* expect+1: warning: pointer cast from 'long double' to unrelated 'long' [247] */ 438 1.1 rillig long_ptr = (typeof(long_ptr))ldouble_ptr; 439 1.6 rillig /* expect+1: warning: pointer cast from 'float _Complex' to unrelated 'long' [247] */ 440 1.1 rillig long_ptr = (typeof(long_ptr))fcomplex_ptr; 441 1.6 rillig /* expect+1: warning: pointer cast from 'double _Complex' to unrelated 'long' [247] */ 442 1.1 rillig long_ptr = (typeof(long_ptr))dcomplex_ptr; 443 1.6 rillig /* expect+1: warning: pointer cast from 'long double _Complex' to unrelated 'long' [247] */ 444 1.1 rillig long_ptr = (typeof(long_ptr))lcomplex_ptr; 445 1.1 rillig long_ptr = (typeof(long_ptr))void_ptr; 446 1.6 rillig /* expect+1: warning: pointer cast from 'struct typedef char_struct' to unrelated 'long' [247] */ 447 1.1 rillig long_ptr = (typeof(long_ptr))char_struct_ptr; 448 1.6 rillig /* expect+1: warning: pointer cast from 'struct typedef double_struct' to unrelated 'long' [247] */ 449 1.1 rillig long_ptr = (typeof(long_ptr))double_struct_ptr; 450 1.6 rillig /* expect+1: warning: pointer cast from 'union typedef char_union' to unrelated 'long' [247] */ 451 1.1 rillig long_ptr = (typeof(long_ptr))char_union_ptr; 452 1.6 rillig /* expect+1: warning: pointer cast from 'union typedef double_union' to unrelated 'long' [247] */ 453 1.1 rillig long_ptr = (typeof(long_ptr))double_union_ptr; 454 1.6 rillig /* expect+1: warning: pointer cast from 'enum typedef int_enum' to unrelated 'long' [247] */ 455 1.1 rillig long_ptr = (typeof(long_ptr))enum_ptr; 456 1.6 rillig /* expect+1: warning: pointer cast from 'array[5] of double' to unrelated 'long' [247] */ 457 1.1 rillig long_ptr = (typeof(long_ptr))double_array_ptr; 458 1.1 rillig /* expect+1: warning: converting 'pointer to function(void) returning void' to 'pointer to long' is questionable [229] */ 459 1.1 rillig long_ptr = (typeof(long_ptr))func_ptr; 460 1.1 rillig 461 1.6 rillig /* expect+1: warning: pointer cast from '_Bool' to unrelated 'unsigned long' [247] */ 462 1.1 rillig ulong_ptr = (typeof(ulong_ptr))bool_ptr; 463 1.1 rillig ulong_ptr = (typeof(ulong_ptr))char_ptr; 464 1.6 rillig /* expect+1: warning: pointer cast from 'signed char' to unrelated 'unsigned long' [247] */ 465 1.1 rillig ulong_ptr = (typeof(ulong_ptr))schar_ptr; 466 1.1 rillig ulong_ptr = (typeof(ulong_ptr))uchar_ptr; 467 1.6 rillig /* expect+1: warning: pointer cast from 'short' to unrelated 'unsigned long' [247] */ 468 1.1 rillig ulong_ptr = (typeof(ulong_ptr))short_ptr; 469 1.6 rillig /* expect+1: warning: pointer cast from 'unsigned short' to unrelated 'unsigned long' [247] */ 470 1.1 rillig ulong_ptr = (typeof(ulong_ptr))ushort_ptr; 471 1.6 rillig /* expect+1: warning: pointer cast from 'int' to unrelated 'unsigned long' [247] */ 472 1.1 rillig ulong_ptr = (typeof(ulong_ptr))int_ptr; 473 1.6 rillig /* expect+1: warning: pointer cast from 'unsigned int' to unrelated 'unsigned long' [247] */ 474 1.1 rillig ulong_ptr = (typeof(ulong_ptr))uint_ptr; 475 1.1 rillig ulong_ptr = (typeof(ulong_ptr))long_ptr; 476 1.1 rillig ulong_ptr = (typeof(ulong_ptr))ulong_ptr; 477 1.6 rillig /* expect+1: warning: pointer cast from 'long long' to unrelated 'unsigned long' [247] */ 478 1.1 rillig ulong_ptr = (typeof(ulong_ptr))llong_ptr; 479 1.6 rillig /* expect+1: warning: pointer cast from 'unsigned long long' to unrelated 'unsigned long' [247] */ 480 1.1 rillig ulong_ptr = (typeof(ulong_ptr))ullong_ptr; 481 1.6 rillig /* expect+1: warning: pointer cast from 'float' to unrelated 'unsigned long' [247] */ 482 1.1 rillig ulong_ptr = (typeof(ulong_ptr))float_ptr; 483 1.6 rillig /* expect+1: warning: pointer cast from 'double' to unrelated 'unsigned long' [247] */ 484 1.1 rillig ulong_ptr = (typeof(ulong_ptr))double_ptr; 485 1.6 rillig /* expect+1: warning: pointer cast from 'long double' to unrelated 'unsigned long' [247] */ 486 1.1 rillig ulong_ptr = (typeof(ulong_ptr))ldouble_ptr; 487 1.6 rillig /* expect+1: warning: pointer cast from 'float _Complex' to unrelated 'unsigned long' [247] */ 488 1.1 rillig ulong_ptr = (typeof(ulong_ptr))fcomplex_ptr; 489 1.6 rillig /* expect+1: warning: pointer cast from 'double _Complex' to unrelated 'unsigned long' [247] */ 490 1.1 rillig ulong_ptr = (typeof(ulong_ptr))dcomplex_ptr; 491 1.6 rillig /* expect+1: warning: pointer cast from 'long double _Complex' to unrelated 'unsigned long' [247] */ 492 1.1 rillig ulong_ptr = (typeof(ulong_ptr))lcomplex_ptr; 493 1.1 rillig ulong_ptr = (typeof(ulong_ptr))void_ptr; 494 1.6 rillig /* expect+1: warning: pointer cast from 'struct typedef char_struct' to unrelated 'unsigned long' [247] */ 495 1.1 rillig ulong_ptr = (typeof(ulong_ptr))char_struct_ptr; 496 1.6 rillig /* expect+1: warning: pointer cast from 'struct typedef double_struct' to unrelated 'unsigned long' [247] */ 497 1.1 rillig ulong_ptr = (typeof(ulong_ptr))double_struct_ptr; 498 1.6 rillig /* expect+1: warning: pointer cast from 'union typedef char_union' to unrelated 'unsigned long' [247] */ 499 1.1 rillig ulong_ptr = (typeof(ulong_ptr))char_union_ptr; 500 1.6 rillig /* expect+1: warning: pointer cast from 'union typedef double_union' to unrelated 'unsigned long' [247] */ 501 1.1 rillig ulong_ptr = (typeof(ulong_ptr))double_union_ptr; 502 1.6 rillig /* expect+1: warning: pointer cast from 'enum typedef int_enum' to unrelated 'unsigned long' [247] */ 503 1.1 rillig ulong_ptr = (typeof(ulong_ptr))enum_ptr; 504 1.6 rillig /* expect+1: warning: pointer cast from 'array[5] of double' to unrelated 'unsigned long' [247] */ 505 1.1 rillig ulong_ptr = (typeof(ulong_ptr))double_array_ptr; 506 1.1 rillig /* expect+1: warning: converting 'pointer to function(void) returning void' to 'pointer to unsigned long' is questionable [229] */ 507 1.1 rillig ulong_ptr = (typeof(ulong_ptr))func_ptr; 508 1.1 rillig 509 1.6 rillig /* expect+1: warning: pointer cast from '_Bool' to unrelated 'long long' [247] */ 510 1.1 rillig llong_ptr = (typeof(llong_ptr))bool_ptr; 511 1.1 rillig llong_ptr = (typeof(llong_ptr))char_ptr; 512 1.6 rillig /* expect+1: warning: pointer cast from 'signed char' to unrelated 'long long' [247] */ 513 1.1 rillig llong_ptr = (typeof(llong_ptr))schar_ptr; 514 1.1 rillig llong_ptr = (typeof(llong_ptr))uchar_ptr; 515 1.6 rillig /* expect+1: warning: pointer cast from 'short' to unrelated 'long long' [247] */ 516 1.1 rillig llong_ptr = (typeof(llong_ptr))short_ptr; 517 1.6 rillig /* expect+1: warning: pointer cast from 'unsigned short' to unrelated 'long long' [247] */ 518 1.1 rillig llong_ptr = (typeof(llong_ptr))ushort_ptr; 519 1.6 rillig /* expect+1: warning: pointer cast from 'int' to unrelated 'long long' [247] */ 520 1.1 rillig llong_ptr = (typeof(llong_ptr))int_ptr; 521 1.6 rillig /* expect+1: warning: pointer cast from 'unsigned int' to unrelated 'long long' [247] */ 522 1.1 rillig llong_ptr = (typeof(llong_ptr))uint_ptr; 523 1.6 rillig /* expect+1: warning: pointer cast from 'long' to unrelated 'long long' [247] */ 524 1.1 rillig llong_ptr = (typeof(llong_ptr))long_ptr; 525 1.6 rillig /* expect+1: warning: pointer cast from 'unsigned long' to unrelated 'long long' [247] */ 526 1.1 rillig llong_ptr = (typeof(llong_ptr))ulong_ptr; 527 1.1 rillig llong_ptr = (typeof(llong_ptr))llong_ptr; 528 1.1 rillig llong_ptr = (typeof(llong_ptr))ullong_ptr; 529 1.6 rillig /* expect+1: warning: pointer cast from 'float' to unrelated 'long long' [247] */ 530 1.1 rillig llong_ptr = (typeof(llong_ptr))float_ptr; 531 1.6 rillig /* expect+1: warning: pointer cast from 'double' to unrelated 'long long' [247] */ 532 1.1 rillig llong_ptr = (typeof(llong_ptr))double_ptr; 533 1.6 rillig /* expect+1: warning: pointer cast from 'long double' to unrelated 'long long' [247] */ 534 1.1 rillig llong_ptr = (typeof(llong_ptr))ldouble_ptr; 535 1.6 rillig /* expect+1: warning: pointer cast from 'float _Complex' to unrelated 'long long' [247] */ 536 1.1 rillig llong_ptr = (typeof(llong_ptr))fcomplex_ptr; 537 1.6 rillig /* expect+1: warning: pointer cast from 'double _Complex' to unrelated 'long long' [247] */ 538 1.1 rillig llong_ptr = (typeof(llong_ptr))dcomplex_ptr; 539 1.6 rillig /* expect+1: warning: pointer cast from 'long double _Complex' to unrelated 'long long' [247] */ 540 1.1 rillig llong_ptr = (typeof(llong_ptr))lcomplex_ptr; 541 1.1 rillig llong_ptr = (typeof(llong_ptr))void_ptr; 542 1.6 rillig /* expect+1: warning: pointer cast from 'struct typedef char_struct' to unrelated 'long long' [247] */ 543 1.1 rillig llong_ptr = (typeof(llong_ptr))char_struct_ptr; 544 1.6 rillig /* expect+1: warning: pointer cast from 'struct typedef double_struct' to unrelated 'long long' [247] */ 545 1.1 rillig llong_ptr = (typeof(llong_ptr))double_struct_ptr; 546 1.6 rillig /* expect+1: warning: pointer cast from 'union typedef char_union' to unrelated 'long long' [247] */ 547 1.1 rillig llong_ptr = (typeof(llong_ptr))char_union_ptr; 548 1.6 rillig /* expect+1: warning: pointer cast from 'union typedef double_union' to unrelated 'long long' [247] */ 549 1.1 rillig llong_ptr = (typeof(llong_ptr))double_union_ptr; 550 1.6 rillig /* expect+1: warning: pointer cast from 'enum typedef int_enum' to unrelated 'long long' [247] */ 551 1.1 rillig llong_ptr = (typeof(llong_ptr))enum_ptr; 552 1.6 rillig /* expect+1: warning: pointer cast from 'array[5] of double' to unrelated 'long long' [247] */ 553 1.1 rillig llong_ptr = (typeof(llong_ptr))double_array_ptr; 554 1.1 rillig /* expect+1: warning: converting 'pointer to function(void) returning void' to 'pointer to long long' is questionable [229] */ 555 1.1 rillig llong_ptr = (typeof(llong_ptr))func_ptr; 556 1.1 rillig 557 1.6 rillig /* expect+1: warning: pointer cast from '_Bool' to unrelated 'unsigned long long' [247] */ 558 1.1 rillig ullong_ptr = (typeof(ullong_ptr))bool_ptr; 559 1.1 rillig ullong_ptr = (typeof(ullong_ptr))char_ptr; 560 1.6 rillig /* expect+1: warning: pointer cast from 'signed char' to unrelated 'unsigned long long' [247] */ 561 1.1 rillig ullong_ptr = (typeof(ullong_ptr))schar_ptr; 562 1.1 rillig ullong_ptr = (typeof(ullong_ptr))uchar_ptr; 563 1.6 rillig /* expect+1: warning: pointer cast from 'short' to unrelated 'unsigned long long' [247] */ 564 1.1 rillig ullong_ptr = (typeof(ullong_ptr))short_ptr; 565 1.6 rillig /* expect+1: warning: pointer cast from 'unsigned short' to unrelated 'unsigned long long' [247] */ 566 1.1 rillig ullong_ptr = (typeof(ullong_ptr))ushort_ptr; 567 1.6 rillig /* expect+1: warning: pointer cast from 'int' to unrelated 'unsigned long long' [247] */ 568 1.1 rillig ullong_ptr = (typeof(ullong_ptr))int_ptr; 569 1.6 rillig /* expect+1: warning: pointer cast from 'unsigned int' to unrelated 'unsigned long long' [247] */ 570 1.1 rillig ullong_ptr = (typeof(ullong_ptr))uint_ptr; 571 1.6 rillig /* expect+1: warning: pointer cast from 'long' to unrelated 'unsigned long long' [247] */ 572 1.1 rillig ullong_ptr = (typeof(ullong_ptr))long_ptr; 573 1.6 rillig /* expect+1: warning: pointer cast from 'unsigned long' to unrelated 'unsigned long long' [247] */ 574 1.1 rillig ullong_ptr = (typeof(ullong_ptr))ulong_ptr; 575 1.1 rillig ullong_ptr = (typeof(ullong_ptr))llong_ptr; 576 1.1 rillig ullong_ptr = (typeof(ullong_ptr))ullong_ptr; 577 1.6 rillig /* expect+1: warning: pointer cast from 'float' to unrelated 'unsigned long long' [247] */ 578 1.1 rillig ullong_ptr = (typeof(ullong_ptr))float_ptr; 579 1.6 rillig /* expect+1: warning: pointer cast from 'double' to unrelated 'unsigned long long' [247] */ 580 1.1 rillig ullong_ptr = (typeof(ullong_ptr))double_ptr; 581 1.6 rillig /* expect+1: warning: pointer cast from 'long double' to unrelated 'unsigned long long' [247] */ 582 1.1 rillig ullong_ptr = (typeof(ullong_ptr))ldouble_ptr; 583 1.6 rillig /* expect+1: warning: pointer cast from 'float _Complex' to unrelated 'unsigned long long' [247] */ 584 1.1 rillig ullong_ptr = (typeof(ullong_ptr))fcomplex_ptr; 585 1.6 rillig /* expect+1: warning: pointer cast from 'double _Complex' to unrelated 'unsigned long long' [247] */ 586 1.1 rillig ullong_ptr = (typeof(ullong_ptr))dcomplex_ptr; 587 1.6 rillig /* expect+1: warning: pointer cast from 'long double _Complex' to unrelated 'unsigned long long' [247] */ 588 1.1 rillig ullong_ptr = (typeof(ullong_ptr))lcomplex_ptr; 589 1.1 rillig ullong_ptr = (typeof(ullong_ptr))void_ptr; 590 1.6 rillig /* expect+1: warning: pointer cast from 'struct typedef char_struct' to unrelated 'unsigned long long' [247] */ 591 1.1 rillig ullong_ptr = (typeof(ullong_ptr))char_struct_ptr; 592 1.6 rillig /* expect+1: warning: pointer cast from 'struct typedef double_struct' to unrelated 'unsigned long long' [247] */ 593 1.1 rillig ullong_ptr = (typeof(ullong_ptr))double_struct_ptr; 594 1.6 rillig /* expect+1: warning: pointer cast from 'union typedef char_union' to unrelated 'unsigned long long' [247] */ 595 1.1 rillig ullong_ptr = (typeof(ullong_ptr))char_union_ptr; 596 1.6 rillig /* expect+1: warning: pointer cast from 'union typedef double_union' to unrelated 'unsigned long long' [247] */ 597 1.1 rillig ullong_ptr = (typeof(ullong_ptr))double_union_ptr; 598 1.6 rillig /* expect+1: warning: pointer cast from 'enum typedef int_enum' to unrelated 'unsigned long long' [247] */ 599 1.1 rillig ullong_ptr = (typeof(ullong_ptr))enum_ptr; 600 1.6 rillig /* expect+1: warning: pointer cast from 'array[5] of double' to unrelated 'unsigned long long' [247] */ 601 1.1 rillig ullong_ptr = (typeof(ullong_ptr))double_array_ptr; 602 1.1 rillig /* expect+1: warning: converting 'pointer to function(void) returning void' to 'pointer to unsigned long long' is questionable [229] */ 603 1.1 rillig ullong_ptr = (typeof(ullong_ptr))func_ptr; 604 1.1 rillig 605 1.6 rillig /* expect+1: warning: pointer cast from '_Bool' to unrelated 'float' [247] */ 606 1.1 rillig float_ptr = (typeof(float_ptr))bool_ptr; 607 1.1 rillig float_ptr = (typeof(float_ptr))char_ptr; 608 1.6 rillig /* expect+1: warning: pointer cast from 'signed char' to unrelated 'float' [247] */ 609 1.1 rillig float_ptr = (typeof(float_ptr))schar_ptr; 610 1.1 rillig float_ptr = (typeof(float_ptr))uchar_ptr; 611 1.6 rillig /* expect+1: warning: pointer cast from 'short' to unrelated 'float' [247] */ 612 1.1 rillig float_ptr = (typeof(float_ptr))short_ptr; 613 1.6 rillig /* expect+1: warning: pointer cast from 'unsigned short' to unrelated 'float' [247] */ 614 1.1 rillig float_ptr = (typeof(float_ptr))ushort_ptr; 615 1.6 rillig /* expect+1: warning: pointer cast from 'int' to unrelated 'float' [247] */ 616 1.1 rillig float_ptr = (typeof(float_ptr))int_ptr; 617 1.6 rillig /* expect+1: warning: pointer cast from 'unsigned int' to unrelated 'float' [247] */ 618 1.1 rillig float_ptr = (typeof(float_ptr))uint_ptr; 619 1.6 rillig /* expect+1: warning: pointer cast from 'long' to unrelated 'float' [247] */ 620 1.1 rillig float_ptr = (typeof(float_ptr))long_ptr; 621 1.6 rillig /* expect+1: warning: pointer cast from 'unsigned long' to unrelated 'float' [247] */ 622 1.1 rillig float_ptr = (typeof(float_ptr))ulong_ptr; 623 1.6 rillig /* expect+1: warning: pointer cast from 'long long' to unrelated 'float' [247] */ 624 1.1 rillig float_ptr = (typeof(float_ptr))llong_ptr; 625 1.6 rillig /* expect+1: warning: pointer cast from 'unsigned long long' to unrelated 'float' [247] */ 626 1.1 rillig float_ptr = (typeof(float_ptr))ullong_ptr; 627 1.1 rillig float_ptr = (typeof(float_ptr))float_ptr; 628 1.6 rillig /* expect+1: warning: pointer cast from 'double' to unrelated 'float' [247] */ 629 1.1 rillig float_ptr = (typeof(float_ptr))double_ptr; 630 1.6 rillig /* expect+1: warning: pointer cast from 'long double' to unrelated 'float' [247] */ 631 1.1 rillig float_ptr = (typeof(float_ptr))ldouble_ptr; 632 1.6 rillig /* expect+1: warning: pointer cast from 'float _Complex' to unrelated 'float' [247] */ 633 1.1 rillig float_ptr = (typeof(float_ptr))fcomplex_ptr; 634 1.6 rillig /* expect+1: warning: pointer cast from 'double _Complex' to unrelated 'float' [247] */ 635 1.1 rillig float_ptr = (typeof(float_ptr))dcomplex_ptr; 636 1.6 rillig /* expect+1: warning: pointer cast from 'long double _Complex' to unrelated 'float' [247] */ 637 1.1 rillig float_ptr = (typeof(float_ptr))lcomplex_ptr; 638 1.1 rillig float_ptr = (typeof(float_ptr))void_ptr; 639 1.6 rillig /* expect+1: warning: pointer cast from 'struct typedef char_struct' to unrelated 'float' [247] */ 640 1.1 rillig float_ptr = (typeof(float_ptr))char_struct_ptr; 641 1.6 rillig /* expect+1: warning: pointer cast from 'struct typedef double_struct' to unrelated 'float' [247] */ 642 1.1 rillig float_ptr = (typeof(float_ptr))double_struct_ptr; 643 1.6 rillig /* expect+1: warning: pointer cast from 'union typedef char_union' to unrelated 'float' [247] */ 644 1.1 rillig float_ptr = (typeof(float_ptr))char_union_ptr; 645 1.6 rillig /* expect+1: warning: pointer cast from 'union typedef double_union' to unrelated 'float' [247] */ 646 1.1 rillig float_ptr = (typeof(float_ptr))double_union_ptr; 647 1.6 rillig /* expect+1: warning: pointer cast from 'enum typedef int_enum' to unrelated 'float' [247] */ 648 1.1 rillig float_ptr = (typeof(float_ptr))enum_ptr; 649 1.6 rillig /* expect+1: warning: pointer cast from 'array[5] of double' to unrelated 'float' [247] */ 650 1.1 rillig float_ptr = (typeof(float_ptr))double_array_ptr; 651 1.1 rillig /* expect+1: warning: converting 'pointer to function(void) returning void' to 'pointer to float' is questionable [229] */ 652 1.1 rillig float_ptr = (typeof(float_ptr))func_ptr; 653 1.1 rillig 654 1.6 rillig /* expect+1: warning: pointer cast from '_Bool' to unrelated 'double' [247] */ 655 1.1 rillig double_ptr = (typeof(double_ptr))bool_ptr; 656 1.1 rillig double_ptr = (typeof(double_ptr))char_ptr; 657 1.6 rillig /* expect+1: warning: pointer cast from 'signed char' to unrelated 'double' [247] */ 658 1.1 rillig double_ptr = (typeof(double_ptr))schar_ptr; 659 1.1 rillig double_ptr = (typeof(double_ptr))uchar_ptr; 660 1.6 rillig /* expect+1: warning: pointer cast from 'short' to unrelated 'double' [247] */ 661 1.1 rillig double_ptr = (typeof(double_ptr))short_ptr; 662 1.6 rillig /* expect+1: warning: pointer cast from 'unsigned short' to unrelated 'double' [247] */ 663 1.1 rillig double_ptr = (typeof(double_ptr))ushort_ptr; 664 1.6 rillig /* expect+1: warning: pointer cast from 'int' to unrelated 'double' [247] */ 665 1.1 rillig double_ptr = (typeof(double_ptr))int_ptr; 666 1.6 rillig /* expect+1: warning: pointer cast from 'unsigned int' to unrelated 'double' [247] */ 667 1.1 rillig double_ptr = (typeof(double_ptr))uint_ptr; 668 1.6 rillig /* expect+1: warning: pointer cast from 'long' to unrelated 'double' [247] */ 669 1.1 rillig double_ptr = (typeof(double_ptr))long_ptr; 670 1.6 rillig /* expect+1: warning: pointer cast from 'unsigned long' to unrelated 'double' [247] */ 671 1.1 rillig double_ptr = (typeof(double_ptr))ulong_ptr; 672 1.6 rillig /* expect+1: warning: pointer cast from 'long long' to unrelated 'double' [247] */ 673 1.1 rillig double_ptr = (typeof(double_ptr))llong_ptr; 674 1.6 rillig /* expect+1: warning: pointer cast from 'unsigned long long' to unrelated 'double' [247] */ 675 1.1 rillig double_ptr = (typeof(double_ptr))ullong_ptr; 676 1.6 rillig /* expect+1: warning: pointer cast from 'float' to unrelated 'double' [247] */ 677 1.1 rillig double_ptr = (typeof(double_ptr))float_ptr; 678 1.1 rillig double_ptr = (typeof(double_ptr))double_ptr; 679 1.6 rillig /* expect+1: warning: pointer cast from 'long double' to unrelated 'double' [247] */ 680 1.1 rillig double_ptr = (typeof(double_ptr))ldouble_ptr; 681 1.6 rillig /* expect+1: warning: pointer cast from 'float _Complex' to unrelated 'double' [247] */ 682 1.1 rillig double_ptr = (typeof(double_ptr))fcomplex_ptr; 683 1.6 rillig /* expect+1: warning: pointer cast from 'double _Complex' to unrelated 'double' [247] */ 684 1.1 rillig double_ptr = (typeof(double_ptr))dcomplex_ptr; 685 1.6 rillig /* expect+1: warning: pointer cast from 'long double _Complex' to unrelated 'double' [247] */ 686 1.1 rillig double_ptr = (typeof(double_ptr))lcomplex_ptr; 687 1.1 rillig double_ptr = (typeof(double_ptr))void_ptr; 688 1.6 rillig /* expect+1: warning: pointer cast from 'struct typedef char_struct' to unrelated 'double' [247] */ 689 1.1 rillig double_ptr = (typeof(double_ptr))char_struct_ptr; 690 1.6 rillig /* expect+1: warning: pointer cast from 'struct typedef double_struct' to unrelated 'double' [247] */ 691 1.1 rillig double_ptr = (typeof(double_ptr))double_struct_ptr; 692 1.6 rillig /* expect+1: warning: pointer cast from 'union typedef char_union' to unrelated 'double' [247] */ 693 1.1 rillig double_ptr = (typeof(double_ptr))char_union_ptr; 694 1.1 rillig double_ptr = (typeof(double_ptr))double_union_ptr; 695 1.6 rillig /* expect+1: warning: pointer cast from 'enum typedef int_enum' to unrelated 'double' [247] */ 696 1.1 rillig double_ptr = (typeof(double_ptr))enum_ptr; 697 1.1 rillig double_ptr = (typeof(double_ptr))double_array_ptr; 698 1.1 rillig /* expect+1: warning: converting 'pointer to function(void) returning void' to 'pointer to double' is questionable [229] */ 699 1.1 rillig double_ptr = (typeof(double_ptr))func_ptr; 700 1.1 rillig 701 1.6 rillig /* expect+1: warning: pointer cast from '_Bool' to unrelated 'long double' [247] */ 702 1.1 rillig ldouble_ptr = (typeof(ldouble_ptr))bool_ptr; 703 1.1 rillig ldouble_ptr = (typeof(ldouble_ptr))char_ptr; 704 1.6 rillig /* expect+1: warning: pointer cast from 'signed char' to unrelated 'long double' [247] */ 705 1.1 rillig ldouble_ptr = (typeof(ldouble_ptr))schar_ptr; 706 1.1 rillig ldouble_ptr = (typeof(ldouble_ptr))uchar_ptr; 707 1.6 rillig /* expect+1: warning: pointer cast from 'short' to unrelated 'long double' [247] */ 708 1.1 rillig ldouble_ptr = (typeof(ldouble_ptr))short_ptr; 709 1.6 rillig /* expect+1: warning: pointer cast from 'unsigned short' to unrelated 'long double' [247] */ 710 1.1 rillig ldouble_ptr = (typeof(ldouble_ptr))ushort_ptr; 711 1.6 rillig /* expect+1: warning: pointer cast from 'int' to unrelated 'long double' [247] */ 712 1.1 rillig ldouble_ptr = (typeof(ldouble_ptr))int_ptr; 713 1.6 rillig /* expect+1: warning: pointer cast from 'unsigned int' to unrelated 'long double' [247] */ 714 1.1 rillig ldouble_ptr = (typeof(ldouble_ptr))uint_ptr; 715 1.6 rillig /* expect+1: warning: pointer cast from 'long' to unrelated 'long double' [247] */ 716 1.1 rillig ldouble_ptr = (typeof(ldouble_ptr))long_ptr; 717 1.6 rillig /* expect+1: warning: pointer cast from 'unsigned long' to unrelated 'long double' [247] */ 718 1.1 rillig ldouble_ptr = (typeof(ldouble_ptr))ulong_ptr; 719 1.6 rillig /* expect+1: warning: pointer cast from 'long long' to unrelated 'long double' [247] */ 720 1.1 rillig ldouble_ptr = (typeof(ldouble_ptr))llong_ptr; 721 1.6 rillig /* expect+1: warning: pointer cast from 'unsigned long long' to unrelated 'long double' [247] */ 722 1.1 rillig ldouble_ptr = (typeof(ldouble_ptr))ullong_ptr; 723 1.6 rillig /* expect+1: warning: pointer cast from 'float' to unrelated 'long double' [247] */ 724 1.1 rillig ldouble_ptr = (typeof(ldouble_ptr))float_ptr; 725 1.6 rillig /* expect+1: warning: pointer cast from 'double' to unrelated 'long double' [247] */ 726 1.1 rillig ldouble_ptr = (typeof(ldouble_ptr))double_ptr; 727 1.1 rillig ldouble_ptr = (typeof(ldouble_ptr))ldouble_ptr; 728 1.6 rillig /* expect+1: warning: pointer cast from 'float _Complex' to unrelated 'long double' [247] */ 729 1.1 rillig ldouble_ptr = (typeof(ldouble_ptr))fcomplex_ptr; 730 1.6 rillig /* expect+1: warning: pointer cast from 'double _Complex' to unrelated 'long double' [247] */ 731 1.1 rillig ldouble_ptr = (typeof(ldouble_ptr))dcomplex_ptr; 732 1.6 rillig /* expect+1: warning: pointer cast from 'long double _Complex' to unrelated 'long double' [247] */ 733 1.1 rillig ldouble_ptr = (typeof(ldouble_ptr))lcomplex_ptr; 734 1.1 rillig ldouble_ptr = (typeof(ldouble_ptr))void_ptr; 735 1.6 rillig /* expect+1: warning: pointer cast from 'struct typedef char_struct' to unrelated 'long double' [247] */ 736 1.1 rillig ldouble_ptr = (typeof(ldouble_ptr))char_struct_ptr; 737 1.6 rillig /* expect+1: warning: pointer cast from 'struct typedef double_struct' to unrelated 'long double' [247] */ 738 1.1 rillig ldouble_ptr = (typeof(ldouble_ptr))double_struct_ptr; 739 1.6 rillig /* expect+1: warning: pointer cast from 'union typedef char_union' to unrelated 'long double' [247] */ 740 1.1 rillig ldouble_ptr = (typeof(ldouble_ptr))char_union_ptr; 741 1.6 rillig /* expect+1: warning: pointer cast from 'union typedef double_union' to unrelated 'long double' [247] */ 742 1.1 rillig ldouble_ptr = (typeof(ldouble_ptr))double_union_ptr; 743 1.6 rillig /* expect+1: warning: pointer cast from 'enum typedef int_enum' to unrelated 'long double' [247] */ 744 1.1 rillig ldouble_ptr = (typeof(ldouble_ptr))enum_ptr; 745 1.6 rillig /* expect+1: warning: pointer cast from 'array[5] of double' to unrelated 'long double' [247] */ 746 1.1 rillig ldouble_ptr = (typeof(ldouble_ptr))double_array_ptr; 747 1.1 rillig /* expect+1: warning: converting 'pointer to function(void) returning void' to 'pointer to long double' is questionable [229] */ 748 1.1 rillig ldouble_ptr = (typeof(ldouble_ptr))func_ptr; 749 1.1 rillig 750 1.6 rillig /* expect+1: warning: pointer cast from '_Bool' to unrelated 'float _Complex' [247] */ 751 1.1 rillig fcomplex_ptr = (typeof(fcomplex_ptr))bool_ptr; 752 1.1 rillig fcomplex_ptr = (typeof(fcomplex_ptr))char_ptr; 753 1.6 rillig /* expect+1: warning: pointer cast from 'signed char' to unrelated 'float _Complex' [247] */ 754 1.1 rillig fcomplex_ptr = (typeof(fcomplex_ptr))schar_ptr; 755 1.1 rillig fcomplex_ptr = (typeof(fcomplex_ptr))uchar_ptr; 756 1.6 rillig /* expect+1: warning: pointer cast from 'short' to unrelated 'float _Complex' [247] */ 757 1.1 rillig fcomplex_ptr = (typeof(fcomplex_ptr))short_ptr; 758 1.6 rillig /* expect+1: warning: pointer cast from 'unsigned short' to unrelated 'float _Complex' [247] */ 759 1.1 rillig fcomplex_ptr = (typeof(fcomplex_ptr))ushort_ptr; 760 1.6 rillig /* expect+1: warning: pointer cast from 'int' to unrelated 'float _Complex' [247] */ 761 1.1 rillig fcomplex_ptr = (typeof(fcomplex_ptr))int_ptr; 762 1.6 rillig /* expect+1: warning: pointer cast from 'unsigned int' to unrelated 'float _Complex' [247] */ 763 1.1 rillig fcomplex_ptr = (typeof(fcomplex_ptr))uint_ptr; 764 1.6 rillig /* expect+1: warning: pointer cast from 'long' to unrelated 'float _Complex' [247] */ 765 1.1 rillig fcomplex_ptr = (typeof(fcomplex_ptr))long_ptr; 766 1.6 rillig /* expect+1: warning: pointer cast from 'unsigned long' to unrelated 'float _Complex' [247] */ 767 1.1 rillig fcomplex_ptr = (typeof(fcomplex_ptr))ulong_ptr; 768 1.6 rillig /* expect+1: warning: pointer cast from 'long long' to unrelated 'float _Complex' [247] */ 769 1.1 rillig fcomplex_ptr = (typeof(fcomplex_ptr))llong_ptr; 770 1.6 rillig /* expect+1: warning: pointer cast from 'unsigned long long' to unrelated 'float _Complex' [247] */ 771 1.1 rillig fcomplex_ptr = (typeof(fcomplex_ptr))ullong_ptr; 772 1.6 rillig /* expect+1: warning: pointer cast from 'float' to unrelated 'float _Complex' [247] */ 773 1.1 rillig fcomplex_ptr = (typeof(fcomplex_ptr))float_ptr; 774 1.6 rillig /* expect+1: warning: pointer cast from 'double' to unrelated 'float _Complex' [247] */ 775 1.1 rillig fcomplex_ptr = (typeof(fcomplex_ptr))double_ptr; 776 1.6 rillig /* expect+1: warning: pointer cast from 'long double' to unrelated 'float _Complex' [247] */ 777 1.1 rillig fcomplex_ptr = (typeof(fcomplex_ptr))ldouble_ptr; 778 1.1 rillig fcomplex_ptr = (typeof(fcomplex_ptr))fcomplex_ptr; 779 1.6 rillig /* expect+1: warning: pointer cast from 'double _Complex' to unrelated 'float _Complex' [247] */ 780 1.1 rillig fcomplex_ptr = (typeof(fcomplex_ptr))dcomplex_ptr; 781 1.6 rillig /* expect+1: warning: pointer cast from 'long double _Complex' to unrelated 'float _Complex' [247] */ 782 1.1 rillig fcomplex_ptr = (typeof(fcomplex_ptr))lcomplex_ptr; 783 1.1 rillig fcomplex_ptr = (typeof(fcomplex_ptr))void_ptr; 784 1.6 rillig /* expect+1: warning: pointer cast from 'struct typedef char_struct' to unrelated 'float _Complex' [247] */ 785 1.1 rillig fcomplex_ptr = (typeof(fcomplex_ptr))char_struct_ptr; 786 1.6 rillig /* expect+1: warning: pointer cast from 'struct typedef double_struct' to unrelated 'float _Complex' [247] */ 787 1.1 rillig fcomplex_ptr = (typeof(fcomplex_ptr))double_struct_ptr; 788 1.6 rillig /* expect+1: warning: pointer cast from 'union typedef char_union' to unrelated 'float _Complex' [247] */ 789 1.1 rillig fcomplex_ptr = (typeof(fcomplex_ptr))char_union_ptr; 790 1.6 rillig /* expect+1: warning: pointer cast from 'union typedef double_union' to unrelated 'float _Complex' [247] */ 791 1.1 rillig fcomplex_ptr = (typeof(fcomplex_ptr))double_union_ptr; 792 1.6 rillig /* expect+1: warning: pointer cast from 'enum typedef int_enum' to unrelated 'float _Complex' [247] */ 793 1.1 rillig fcomplex_ptr = (typeof(fcomplex_ptr))enum_ptr; 794 1.6 rillig /* expect+1: warning: pointer cast from 'array[5] of double' to unrelated 'float _Complex' [247] */ 795 1.1 rillig fcomplex_ptr = (typeof(fcomplex_ptr))double_array_ptr; 796 1.1 rillig /* expect+1: warning: converting 'pointer to function(void) returning void' to 'pointer to float _Complex' is questionable [229] */ 797 1.1 rillig fcomplex_ptr = (typeof(fcomplex_ptr))func_ptr; 798 1.1 rillig 799 1.6 rillig /* expect+1: warning: pointer cast from '_Bool' to unrelated 'double _Complex' [247] */ 800 1.1 rillig dcomplex_ptr = (typeof(dcomplex_ptr))bool_ptr; 801 1.1 rillig dcomplex_ptr = (typeof(dcomplex_ptr))char_ptr; 802 1.6 rillig /* expect+1: warning: pointer cast from 'signed char' to unrelated 'double _Complex' [247] */ 803 1.1 rillig dcomplex_ptr = (typeof(dcomplex_ptr))schar_ptr; 804 1.1 rillig dcomplex_ptr = (typeof(dcomplex_ptr))uchar_ptr; 805 1.6 rillig /* expect+1: warning: pointer cast from 'short' to unrelated 'double _Complex' [247] */ 806 1.1 rillig dcomplex_ptr = (typeof(dcomplex_ptr))short_ptr; 807 1.6 rillig /* expect+1: warning: pointer cast from 'unsigned short' to unrelated 'double _Complex' [247] */ 808 1.1 rillig dcomplex_ptr = (typeof(dcomplex_ptr))ushort_ptr; 809 1.6 rillig /* expect+1: warning: pointer cast from 'int' to unrelated 'double _Complex' [247] */ 810 1.1 rillig dcomplex_ptr = (typeof(dcomplex_ptr))int_ptr; 811 1.6 rillig /* expect+1: warning: pointer cast from 'unsigned int' to unrelated 'double _Complex' [247] */ 812 1.1 rillig dcomplex_ptr = (typeof(dcomplex_ptr))uint_ptr; 813 1.6 rillig /* expect+1: warning: pointer cast from 'long' to unrelated 'double _Complex' [247] */ 814 1.1 rillig dcomplex_ptr = (typeof(dcomplex_ptr))long_ptr; 815 1.6 rillig /* expect+1: warning: pointer cast from 'unsigned long' to unrelated 'double _Complex' [247] */ 816 1.1 rillig dcomplex_ptr = (typeof(dcomplex_ptr))ulong_ptr; 817 1.6 rillig /* expect+1: warning: pointer cast from 'long long' to unrelated 'double _Complex' [247] */ 818 1.1 rillig dcomplex_ptr = (typeof(dcomplex_ptr))llong_ptr; 819 1.6 rillig /* expect+1: warning: pointer cast from 'unsigned long long' to unrelated 'double _Complex' [247] */ 820 1.1 rillig dcomplex_ptr = (typeof(dcomplex_ptr))ullong_ptr; 821 1.6 rillig /* expect+1: warning: pointer cast from 'float' to unrelated 'double _Complex' [247] */ 822 1.1 rillig dcomplex_ptr = (typeof(dcomplex_ptr))float_ptr; 823 1.6 rillig /* expect+1: warning: pointer cast from 'double' to unrelated 'double _Complex' [247] */ 824 1.1 rillig dcomplex_ptr = (typeof(dcomplex_ptr))double_ptr; 825 1.6 rillig /* expect+1: warning: pointer cast from 'long double' to unrelated 'double _Complex' [247] */ 826 1.1 rillig dcomplex_ptr = (typeof(dcomplex_ptr))ldouble_ptr; 827 1.6 rillig /* expect+1: warning: pointer cast from 'float _Complex' to unrelated 'double _Complex' [247] */ 828 1.1 rillig dcomplex_ptr = (typeof(dcomplex_ptr))fcomplex_ptr; 829 1.1 rillig dcomplex_ptr = (typeof(dcomplex_ptr))dcomplex_ptr; 830 1.6 rillig /* expect+1: warning: pointer cast from 'long double _Complex' to unrelated 'double _Complex' [247] */ 831 1.1 rillig dcomplex_ptr = (typeof(dcomplex_ptr))lcomplex_ptr; 832 1.1 rillig dcomplex_ptr = (typeof(dcomplex_ptr))void_ptr; 833 1.6 rillig /* expect+1: warning: pointer cast from 'struct typedef char_struct' to unrelated 'double _Complex' [247] */ 834 1.1 rillig dcomplex_ptr = (typeof(dcomplex_ptr))char_struct_ptr; 835 1.6 rillig /* expect+1: warning: pointer cast from 'struct typedef double_struct' to unrelated 'double _Complex' [247] */ 836 1.1 rillig dcomplex_ptr = (typeof(dcomplex_ptr))double_struct_ptr; 837 1.6 rillig /* expect+1: warning: pointer cast from 'union typedef char_union' to unrelated 'double _Complex' [247] */ 838 1.1 rillig dcomplex_ptr = (typeof(dcomplex_ptr))char_union_ptr; 839 1.6 rillig /* expect+1: warning: pointer cast from 'union typedef double_union' to unrelated 'double _Complex' [247] */ 840 1.1 rillig dcomplex_ptr = (typeof(dcomplex_ptr))double_union_ptr; 841 1.6 rillig /* expect+1: warning: pointer cast from 'enum typedef int_enum' to unrelated 'double _Complex' [247] */ 842 1.1 rillig dcomplex_ptr = (typeof(dcomplex_ptr))enum_ptr; 843 1.6 rillig /* expect+1: warning: pointer cast from 'array[5] of double' to unrelated 'double _Complex' [247] */ 844 1.1 rillig dcomplex_ptr = (typeof(dcomplex_ptr))double_array_ptr; 845 1.1 rillig /* expect+1: warning: converting 'pointer to function(void) returning void' to 'pointer to double _Complex' is questionable [229] */ 846 1.1 rillig dcomplex_ptr = (typeof(dcomplex_ptr))func_ptr; 847 1.1 rillig 848 1.6 rillig /* expect+1: warning: pointer cast from '_Bool' to unrelated 'long double _Complex' [247] */ 849 1.1 rillig lcomplex_ptr = (typeof(lcomplex_ptr))bool_ptr; 850 1.1 rillig lcomplex_ptr = (typeof(lcomplex_ptr))char_ptr; 851 1.6 rillig /* expect+1: warning: pointer cast from 'signed char' to unrelated 'long double _Complex' [247] */ 852 1.1 rillig lcomplex_ptr = (typeof(lcomplex_ptr))schar_ptr; 853 1.1 rillig lcomplex_ptr = (typeof(lcomplex_ptr))uchar_ptr; 854 1.6 rillig /* expect+1: warning: pointer cast from 'short' to unrelated 'long double _Complex' [247] */ 855 1.1 rillig lcomplex_ptr = (typeof(lcomplex_ptr))short_ptr; 856 1.6 rillig /* expect+1: warning: pointer cast from 'unsigned short' to unrelated 'long double _Complex' [247] */ 857 1.1 rillig lcomplex_ptr = (typeof(lcomplex_ptr))ushort_ptr; 858 1.6 rillig /* expect+1: warning: pointer cast from 'int' to unrelated 'long double _Complex' [247] */ 859 1.1 rillig lcomplex_ptr = (typeof(lcomplex_ptr))int_ptr; 860 1.6 rillig /* expect+1: warning: pointer cast from 'unsigned int' to unrelated 'long double _Complex' [247] */ 861 1.1 rillig lcomplex_ptr = (typeof(lcomplex_ptr))uint_ptr; 862 1.6 rillig /* expect+1: warning: pointer cast from 'long' to unrelated 'long double _Complex' [247] */ 863 1.1 rillig lcomplex_ptr = (typeof(lcomplex_ptr))long_ptr; 864 1.6 rillig /* expect+1: warning: pointer cast from 'unsigned long' to unrelated 'long double _Complex' [247] */ 865 1.1 rillig lcomplex_ptr = (typeof(lcomplex_ptr))ulong_ptr; 866 1.6 rillig /* expect+1: warning: pointer cast from 'long long' to unrelated 'long double _Complex' [247] */ 867 1.1 rillig lcomplex_ptr = (typeof(lcomplex_ptr))llong_ptr; 868 1.6 rillig /* expect+1: warning: pointer cast from 'unsigned long long' to unrelated 'long double _Complex' [247] */ 869 1.1 rillig lcomplex_ptr = (typeof(lcomplex_ptr))ullong_ptr; 870 1.6 rillig /* expect+1: warning: pointer cast from 'float' to unrelated 'long double _Complex' [247] */ 871 1.1 rillig lcomplex_ptr = (typeof(lcomplex_ptr))float_ptr; 872 1.6 rillig /* expect+1: warning: pointer cast from 'double' to unrelated 'long double _Complex' [247] */ 873 1.1 rillig lcomplex_ptr = (typeof(lcomplex_ptr))double_ptr; 874 1.6 rillig /* expect+1: warning: pointer cast from 'long double' to unrelated 'long double _Complex' [247] */ 875 1.1 rillig lcomplex_ptr = (typeof(lcomplex_ptr))ldouble_ptr; 876 1.6 rillig /* expect+1: warning: pointer cast from 'float _Complex' to unrelated 'long double _Complex' [247] */ 877 1.1 rillig lcomplex_ptr = (typeof(lcomplex_ptr))fcomplex_ptr; 878 1.6 rillig /* expect+1: warning: pointer cast from 'double _Complex' to unrelated 'long double _Complex' [247] */ 879 1.1 rillig lcomplex_ptr = (typeof(lcomplex_ptr))dcomplex_ptr; 880 1.1 rillig lcomplex_ptr = (typeof(lcomplex_ptr))lcomplex_ptr; 881 1.1 rillig lcomplex_ptr = (typeof(lcomplex_ptr))void_ptr; 882 1.6 rillig /* expect+1: warning: pointer cast from 'struct typedef char_struct' to unrelated 'long double _Complex' [247] */ 883 1.1 rillig lcomplex_ptr = (typeof(lcomplex_ptr))char_struct_ptr; 884 1.6 rillig /* expect+1: warning: pointer cast from 'struct typedef double_struct' to unrelated 'long double _Complex' [247] */ 885 1.1 rillig lcomplex_ptr = (typeof(lcomplex_ptr))double_struct_ptr; 886 1.6 rillig /* expect+1: warning: pointer cast from 'union typedef char_union' to unrelated 'long double _Complex' [247] */ 887 1.1 rillig lcomplex_ptr = (typeof(lcomplex_ptr))char_union_ptr; 888 1.6 rillig /* expect+1: warning: pointer cast from 'union typedef double_union' to unrelated 'long double _Complex' [247] */ 889 1.1 rillig lcomplex_ptr = (typeof(lcomplex_ptr))double_union_ptr; 890 1.6 rillig /* expect+1: warning: pointer cast from 'enum typedef int_enum' to unrelated 'long double _Complex' [247] */ 891 1.1 rillig lcomplex_ptr = (typeof(lcomplex_ptr))enum_ptr; 892 1.6 rillig /* expect+1: warning: pointer cast from 'array[5] of double' to unrelated 'long double _Complex' [247] */ 893 1.1 rillig lcomplex_ptr = (typeof(lcomplex_ptr))double_array_ptr; 894 1.1 rillig /* expect+1: warning: converting 'pointer to function(void) returning void' to 'pointer to long double _Complex' is questionable [229] */ 895 1.1 rillig lcomplex_ptr = (typeof(lcomplex_ptr))func_ptr; 896 1.1 rillig 897 1.1 rillig void_ptr = (typeof(void_ptr))bool_ptr; 898 1.1 rillig void_ptr = (typeof(void_ptr))char_ptr; 899 1.1 rillig void_ptr = (typeof(void_ptr))schar_ptr; 900 1.1 rillig void_ptr = (typeof(void_ptr))uchar_ptr; 901 1.1 rillig void_ptr = (typeof(void_ptr))short_ptr; 902 1.1 rillig void_ptr = (typeof(void_ptr))ushort_ptr; 903 1.1 rillig void_ptr = (typeof(void_ptr))int_ptr; 904 1.1 rillig void_ptr = (typeof(void_ptr))uint_ptr; 905 1.1 rillig void_ptr = (typeof(void_ptr))long_ptr; 906 1.1 rillig void_ptr = (typeof(void_ptr))ulong_ptr; 907 1.1 rillig void_ptr = (typeof(void_ptr))llong_ptr; 908 1.1 rillig void_ptr = (typeof(void_ptr))ullong_ptr; 909 1.1 rillig void_ptr = (typeof(void_ptr))float_ptr; 910 1.1 rillig void_ptr = (typeof(void_ptr))double_ptr; 911 1.1 rillig void_ptr = (typeof(void_ptr))ldouble_ptr; 912 1.1 rillig void_ptr = (typeof(void_ptr))fcomplex_ptr; 913 1.1 rillig void_ptr = (typeof(void_ptr))dcomplex_ptr; 914 1.1 rillig void_ptr = (typeof(void_ptr))lcomplex_ptr; 915 1.1 rillig void_ptr = (typeof(void_ptr))void_ptr; 916 1.1 rillig void_ptr = (typeof(void_ptr))char_struct_ptr; 917 1.1 rillig void_ptr = (typeof(void_ptr))double_struct_ptr; 918 1.1 rillig void_ptr = (typeof(void_ptr))char_union_ptr; 919 1.1 rillig void_ptr = (typeof(void_ptr))double_union_ptr; 920 1.1 rillig void_ptr = (typeof(void_ptr))enum_ptr; 921 1.1 rillig void_ptr = (typeof(void_ptr))double_array_ptr; 922 1.1 rillig void_ptr = (typeof(void_ptr))func_ptr; 923 1.1 rillig 924 1.6 rillig /* expect+1: warning: pointer cast from '_Bool' to unrelated 'struct typedef char_struct' [247] */ 925 1.1 rillig char_struct_ptr = (typeof(char_struct_ptr))bool_ptr; 926 1.1 rillig char_struct_ptr = (typeof(char_struct_ptr))char_ptr; 927 1.6 rillig /* expect+1: warning: pointer cast from 'signed char' to unrelated 'struct typedef char_struct' [247] */ 928 1.1 rillig char_struct_ptr = (typeof(char_struct_ptr))schar_ptr; 929 1.1 rillig char_struct_ptr = (typeof(char_struct_ptr))uchar_ptr; 930 1.6 rillig /* expect+1: warning: pointer cast from 'short' to unrelated 'struct typedef char_struct' [247] */ 931 1.1 rillig char_struct_ptr = (typeof(char_struct_ptr))short_ptr; 932 1.6 rillig /* expect+1: warning: pointer cast from 'unsigned short' to unrelated 'struct typedef char_struct' [247] */ 933 1.1 rillig char_struct_ptr = (typeof(char_struct_ptr))ushort_ptr; 934 1.6 rillig /* expect+1: warning: pointer cast from 'int' to unrelated 'struct typedef char_struct' [247] */ 935 1.1 rillig char_struct_ptr = (typeof(char_struct_ptr))int_ptr; 936 1.6 rillig /* expect+1: warning: pointer cast from 'unsigned int' to unrelated 'struct typedef char_struct' [247] */ 937 1.1 rillig char_struct_ptr = (typeof(char_struct_ptr))uint_ptr; 938 1.6 rillig /* expect+1: warning: pointer cast from 'long' to unrelated 'struct typedef char_struct' [247] */ 939 1.1 rillig char_struct_ptr = (typeof(char_struct_ptr))long_ptr; 940 1.6 rillig /* expect+1: warning: pointer cast from 'unsigned long' to unrelated 'struct typedef char_struct' [247] */ 941 1.1 rillig char_struct_ptr = (typeof(char_struct_ptr))ulong_ptr; 942 1.6 rillig /* expect+1: warning: pointer cast from 'long long' to unrelated 'struct typedef char_struct' [247] */ 943 1.1 rillig char_struct_ptr = (typeof(char_struct_ptr))llong_ptr; 944 1.6 rillig /* expect+1: warning: pointer cast from 'unsigned long long' to unrelated 'struct typedef char_struct' [247] */ 945 1.1 rillig char_struct_ptr = (typeof(char_struct_ptr))ullong_ptr; 946 1.6 rillig /* expect+1: warning: pointer cast from 'float' to unrelated 'struct typedef char_struct' [247] */ 947 1.1 rillig char_struct_ptr = (typeof(char_struct_ptr))float_ptr; 948 1.6 rillig /* expect+1: warning: pointer cast from 'double' to unrelated 'struct typedef char_struct' [247] */ 949 1.1 rillig char_struct_ptr = (typeof(char_struct_ptr))double_ptr; 950 1.6 rillig /* expect+1: warning: pointer cast from 'long double' to unrelated 'struct typedef char_struct' [247] */ 951 1.1 rillig char_struct_ptr = (typeof(char_struct_ptr))ldouble_ptr; 952 1.6 rillig /* expect+1: warning: pointer cast from 'float _Complex' to unrelated 'struct typedef char_struct' [247] */ 953 1.1 rillig char_struct_ptr = (typeof(char_struct_ptr))fcomplex_ptr; 954 1.6 rillig /* expect+1: warning: pointer cast from 'double _Complex' to unrelated 'struct typedef char_struct' [247] */ 955 1.1 rillig char_struct_ptr = (typeof(char_struct_ptr))dcomplex_ptr; 956 1.6 rillig /* expect+1: warning: pointer cast from 'long double _Complex' to unrelated 'struct typedef char_struct' [247] */ 957 1.1 rillig char_struct_ptr = (typeof(char_struct_ptr))lcomplex_ptr; 958 1.1 rillig char_struct_ptr = (typeof(char_struct_ptr))void_ptr; 959 1.1 rillig char_struct_ptr = (typeof(char_struct_ptr))char_struct_ptr; 960 1.6 rillig /* expect+1: warning: pointer cast from 'struct typedef double_struct' to unrelated 'struct typedef char_struct' [247] */ 961 1.1 rillig char_struct_ptr = (typeof(char_struct_ptr))double_struct_ptr; 962 1.6 rillig /* expect+1: warning: pointer cast from 'union typedef char_union' to unrelated 'struct typedef char_struct' [247] */ 963 1.1 rillig char_struct_ptr = (typeof(char_struct_ptr))char_union_ptr; 964 1.6 rillig /* expect+1: warning: pointer cast from 'union typedef double_union' to unrelated 'struct typedef char_struct' [247] */ 965 1.1 rillig char_struct_ptr = (typeof(char_struct_ptr))double_union_ptr; 966 1.6 rillig /* expect+1: warning: pointer cast from 'enum typedef int_enum' to unrelated 'struct typedef char_struct' [247] */ 967 1.1 rillig char_struct_ptr = (typeof(char_struct_ptr))enum_ptr; 968 1.6 rillig /* expect+1: warning: pointer cast from 'array[5] of double' to unrelated 'struct typedef char_struct' [247] */ 969 1.1 rillig char_struct_ptr = (typeof(char_struct_ptr))double_array_ptr; 970 1.1 rillig /* expect+1: warning: converting 'pointer to function(void) returning void' to 'pointer to struct typedef char_struct' is questionable [229] */ 971 1.1 rillig char_struct_ptr = (typeof(char_struct_ptr))func_ptr; 972 1.1 rillig 973 1.6 rillig /* expect+1: warning: pointer cast from '_Bool' to unrelated 'struct typedef double_struct' [247] */ 974 1.1 rillig double_struct_ptr = (typeof(double_struct_ptr))bool_ptr; 975 1.1 rillig double_struct_ptr = (typeof(double_struct_ptr))char_ptr; 976 1.6 rillig /* expect+1: warning: pointer cast from 'signed char' to unrelated 'struct typedef double_struct' [247] */ 977 1.1 rillig double_struct_ptr = (typeof(double_struct_ptr))schar_ptr; 978 1.1 rillig double_struct_ptr = (typeof(double_struct_ptr))uchar_ptr; 979 1.6 rillig /* expect+1: warning: pointer cast from 'short' to unrelated 'struct typedef double_struct' [247] */ 980 1.1 rillig double_struct_ptr = (typeof(double_struct_ptr))short_ptr; 981 1.6 rillig /* expect+1: warning: pointer cast from 'unsigned short' to unrelated 'struct typedef double_struct' [247] */ 982 1.1 rillig double_struct_ptr = (typeof(double_struct_ptr))ushort_ptr; 983 1.6 rillig /* expect+1: warning: pointer cast from 'int' to unrelated 'struct typedef double_struct' [247] */ 984 1.1 rillig double_struct_ptr = (typeof(double_struct_ptr))int_ptr; 985 1.6 rillig /* expect+1: warning: pointer cast from 'unsigned int' to unrelated 'struct typedef double_struct' [247] */ 986 1.1 rillig double_struct_ptr = (typeof(double_struct_ptr))uint_ptr; 987 1.6 rillig /* expect+1: warning: pointer cast from 'long' to unrelated 'struct typedef double_struct' [247] */ 988 1.1 rillig double_struct_ptr = (typeof(double_struct_ptr))long_ptr; 989 1.6 rillig /* expect+1: warning: pointer cast from 'unsigned long' to unrelated 'struct typedef double_struct' [247] */ 990 1.1 rillig double_struct_ptr = (typeof(double_struct_ptr))ulong_ptr; 991 1.6 rillig /* expect+1: warning: pointer cast from 'long long' to unrelated 'struct typedef double_struct' [247] */ 992 1.1 rillig double_struct_ptr = (typeof(double_struct_ptr))llong_ptr; 993 1.6 rillig /* expect+1: warning: pointer cast from 'unsigned long long' to unrelated 'struct typedef double_struct' [247] */ 994 1.1 rillig double_struct_ptr = (typeof(double_struct_ptr))ullong_ptr; 995 1.6 rillig /* expect+1: warning: pointer cast from 'float' to unrelated 'struct typedef double_struct' [247] */ 996 1.1 rillig double_struct_ptr = (typeof(double_struct_ptr))float_ptr; 997 1.6 rillig /* expect+1: warning: pointer cast from 'double' to unrelated 'struct typedef double_struct' [247] */ 998 1.1 rillig double_struct_ptr = (typeof(double_struct_ptr))double_ptr; 999 1.6 rillig /* expect+1: warning: pointer cast from 'long double' to unrelated 'struct typedef double_struct' [247] */ 1000 1.1 rillig double_struct_ptr = (typeof(double_struct_ptr))ldouble_ptr; 1001 1.6 rillig /* expect+1: warning: pointer cast from 'float _Complex' to unrelated 'struct typedef double_struct' [247] */ 1002 1.1 rillig double_struct_ptr = (typeof(double_struct_ptr))fcomplex_ptr; 1003 1.6 rillig /* expect+1: warning: pointer cast from 'double _Complex' to unrelated 'struct typedef double_struct' [247] */ 1004 1.1 rillig double_struct_ptr = (typeof(double_struct_ptr))dcomplex_ptr; 1005 1.6 rillig /* expect+1: warning: pointer cast from 'long double _Complex' to unrelated 'struct typedef double_struct' [247] */ 1006 1.1 rillig double_struct_ptr = (typeof(double_struct_ptr))lcomplex_ptr; 1007 1.1 rillig double_struct_ptr = (typeof(double_struct_ptr))void_ptr; 1008 1.6 rillig /* expect+1: warning: pointer cast from 'struct typedef char_struct' to unrelated 'struct typedef double_struct' [247] */ 1009 1.1 rillig double_struct_ptr = (typeof(double_struct_ptr))char_struct_ptr; 1010 1.1 rillig double_struct_ptr = (typeof(double_struct_ptr))double_struct_ptr; 1011 1.6 rillig /* expect+1: warning: pointer cast from 'union typedef char_union' to unrelated 'struct typedef double_struct' [247] */ 1012 1.1 rillig double_struct_ptr = (typeof(double_struct_ptr))char_union_ptr; 1013 1.6 rillig /* expect+1: warning: pointer cast from 'union typedef double_union' to unrelated 'struct typedef double_struct' [247] */ 1014 1.1 rillig double_struct_ptr = (typeof(double_struct_ptr))double_union_ptr; 1015 1.6 rillig /* expect+1: warning: pointer cast from 'enum typedef int_enum' to unrelated 'struct typedef double_struct' [247] */ 1016 1.1 rillig double_struct_ptr = (typeof(double_struct_ptr))enum_ptr; 1017 1.6 rillig /* expect+1: warning: pointer cast from 'array[5] of double' to unrelated 'struct typedef double_struct' [247] */ 1018 1.1 rillig double_struct_ptr = (typeof(double_struct_ptr))double_array_ptr; 1019 1.1 rillig /* expect+1: warning: converting 'pointer to function(void) returning void' to 'pointer to struct typedef double_struct' is questionable [229] */ 1020 1.1 rillig double_struct_ptr = (typeof(double_struct_ptr))func_ptr; 1021 1.1 rillig 1022 1.6 rillig /* expect+1: warning: pointer cast from '_Bool' to unrelated 'union typedef char_union' [247] */ 1023 1.1 rillig char_union_ptr = (typeof(char_union_ptr))bool_ptr; 1024 1.1 rillig char_union_ptr = (typeof(char_union_ptr))char_ptr; 1025 1.6 rillig /* expect+1: warning: pointer cast from 'signed char' to unrelated 'union typedef char_union' [247] */ 1026 1.1 rillig char_union_ptr = (typeof(char_union_ptr))schar_ptr; 1027 1.1 rillig char_union_ptr = (typeof(char_union_ptr))uchar_ptr; 1028 1.6 rillig /* expect+1: warning: pointer cast from 'short' to unrelated 'union typedef char_union' [247] */ 1029 1.1 rillig char_union_ptr = (typeof(char_union_ptr))short_ptr; 1030 1.6 rillig /* expect+1: warning: pointer cast from 'unsigned short' to unrelated 'union typedef char_union' [247] */ 1031 1.1 rillig char_union_ptr = (typeof(char_union_ptr))ushort_ptr; 1032 1.6 rillig /* expect+1: warning: pointer cast from 'int' to unrelated 'union typedef char_union' [247] */ 1033 1.1 rillig char_union_ptr = (typeof(char_union_ptr))int_ptr; 1034 1.6 rillig /* expect+1: warning: pointer cast from 'unsigned int' to unrelated 'union typedef char_union' [247] */ 1035 1.1 rillig char_union_ptr = (typeof(char_union_ptr))uint_ptr; 1036 1.6 rillig /* expect+1: warning: pointer cast from 'long' to unrelated 'union typedef char_union' [247] */ 1037 1.1 rillig char_union_ptr = (typeof(char_union_ptr))long_ptr; 1038 1.6 rillig /* expect+1: warning: pointer cast from 'unsigned long' to unrelated 'union typedef char_union' [247] */ 1039 1.1 rillig char_union_ptr = (typeof(char_union_ptr))ulong_ptr; 1040 1.6 rillig /* expect+1: warning: pointer cast from 'long long' to unrelated 'union typedef char_union' [247] */ 1041 1.1 rillig char_union_ptr = (typeof(char_union_ptr))llong_ptr; 1042 1.6 rillig /* expect+1: warning: pointer cast from 'unsigned long long' to unrelated 'union typedef char_union' [247] */ 1043 1.1 rillig char_union_ptr = (typeof(char_union_ptr))ullong_ptr; 1044 1.6 rillig /* expect+1: warning: pointer cast from 'float' to unrelated 'union typedef char_union' [247] */ 1045 1.1 rillig char_union_ptr = (typeof(char_union_ptr))float_ptr; 1046 1.6 rillig /* expect+1: warning: pointer cast from 'double' to unrelated 'union typedef char_union' [247] */ 1047 1.1 rillig char_union_ptr = (typeof(char_union_ptr))double_ptr; 1048 1.6 rillig /* expect+1: warning: pointer cast from 'long double' to unrelated 'union typedef char_union' [247] */ 1049 1.1 rillig char_union_ptr = (typeof(char_union_ptr))ldouble_ptr; 1050 1.6 rillig /* expect+1: warning: pointer cast from 'float _Complex' to unrelated 'union typedef char_union' [247] */ 1051 1.1 rillig char_union_ptr = (typeof(char_union_ptr))fcomplex_ptr; 1052 1.6 rillig /* expect+1: warning: pointer cast from 'double _Complex' to unrelated 'union typedef char_union' [247] */ 1053 1.1 rillig char_union_ptr = (typeof(char_union_ptr))dcomplex_ptr; 1054 1.6 rillig /* expect+1: warning: pointer cast from 'long double _Complex' to unrelated 'union typedef char_union' [247] */ 1055 1.1 rillig char_union_ptr = (typeof(char_union_ptr))lcomplex_ptr; 1056 1.1 rillig char_union_ptr = (typeof(char_union_ptr))void_ptr; 1057 1.6 rillig /* expect+1: warning: pointer cast from 'struct typedef char_struct' to unrelated 'union typedef char_union' [247] */ 1058 1.1 rillig char_union_ptr = (typeof(char_union_ptr))char_struct_ptr; 1059 1.6 rillig /* expect+1: warning: pointer cast from 'struct typedef double_struct' to unrelated 'union typedef char_union' [247] */ 1060 1.1 rillig char_union_ptr = (typeof(char_union_ptr))double_struct_ptr; 1061 1.1 rillig char_union_ptr = (typeof(char_union_ptr))char_union_ptr; 1062 1.6 rillig /* expect+1: warning: pointer cast from 'union typedef double_union' to unrelated 'union typedef char_union' [247] */ 1063 1.1 rillig char_union_ptr = (typeof(char_union_ptr))double_union_ptr; 1064 1.6 rillig /* expect+1: warning: pointer cast from 'enum typedef int_enum' to unrelated 'union typedef char_union' [247] */ 1065 1.1 rillig char_union_ptr = (typeof(char_union_ptr))enum_ptr; 1066 1.6 rillig /* expect+1: warning: pointer cast from 'array[5] of double' to unrelated 'union typedef char_union' [247] */ 1067 1.1 rillig char_union_ptr = (typeof(char_union_ptr))double_array_ptr; 1068 1.1 rillig /* expect+1: warning: converting 'pointer to function(void) returning void' to 'pointer to union typedef char_union' is questionable [229] */ 1069 1.1 rillig char_union_ptr = (typeof(char_union_ptr))func_ptr; 1070 1.1 rillig 1071 1.6 rillig /* expect+1: warning: pointer cast from '_Bool' to unrelated 'union typedef double_union' [247] */ 1072 1.1 rillig double_union_ptr = (typeof(double_union_ptr))bool_ptr; 1073 1.1 rillig double_union_ptr = (typeof(double_union_ptr))char_ptr; 1074 1.6 rillig /* expect+1: warning: pointer cast from 'signed char' to unrelated 'union typedef double_union' [247] */ 1075 1.1 rillig double_union_ptr = (typeof(double_union_ptr))schar_ptr; 1076 1.1 rillig double_union_ptr = (typeof(double_union_ptr))uchar_ptr; 1077 1.6 rillig /* expect+1: warning: pointer cast from 'short' to unrelated 'union typedef double_union' [247] */ 1078 1.1 rillig double_union_ptr = (typeof(double_union_ptr))short_ptr; 1079 1.6 rillig /* expect+1: warning: pointer cast from 'unsigned short' to unrelated 'union typedef double_union' [247] */ 1080 1.1 rillig double_union_ptr = (typeof(double_union_ptr))ushort_ptr; 1081 1.6 rillig /* expect+1: warning: pointer cast from 'int' to unrelated 'union typedef double_union' [247] */ 1082 1.1 rillig double_union_ptr = (typeof(double_union_ptr))int_ptr; 1083 1.6 rillig /* expect+1: warning: pointer cast from 'unsigned int' to unrelated 'union typedef double_union' [247] */ 1084 1.1 rillig double_union_ptr = (typeof(double_union_ptr))uint_ptr; 1085 1.6 rillig /* expect+1: warning: pointer cast from 'long' to unrelated 'union typedef double_union' [247] */ 1086 1.1 rillig double_union_ptr = (typeof(double_union_ptr))long_ptr; 1087 1.6 rillig /* expect+1: warning: pointer cast from 'unsigned long' to unrelated 'union typedef double_union' [247] */ 1088 1.1 rillig double_union_ptr = (typeof(double_union_ptr))ulong_ptr; 1089 1.6 rillig /* expect+1: warning: pointer cast from 'long long' to unrelated 'union typedef double_union' [247] */ 1090 1.1 rillig double_union_ptr = (typeof(double_union_ptr))llong_ptr; 1091 1.6 rillig /* expect+1: warning: pointer cast from 'unsigned long long' to unrelated 'union typedef double_union' [247] */ 1092 1.1 rillig double_union_ptr = (typeof(double_union_ptr))ullong_ptr; 1093 1.6 rillig /* expect+1: warning: pointer cast from 'float' to unrelated 'union typedef double_union' [247] */ 1094 1.1 rillig double_union_ptr = (typeof(double_union_ptr))float_ptr; 1095 1.1 rillig double_union_ptr = (typeof(double_union_ptr))double_ptr; 1096 1.6 rillig /* expect+1: warning: pointer cast from 'long double' to unrelated 'union typedef double_union' [247] */ 1097 1.1 rillig double_union_ptr = (typeof(double_union_ptr))ldouble_ptr; 1098 1.6 rillig /* expect+1: warning: pointer cast from 'float _Complex' to unrelated 'union typedef double_union' [247] */ 1099 1.1 rillig double_union_ptr = (typeof(double_union_ptr))fcomplex_ptr; 1100 1.6 rillig /* expect+1: warning: pointer cast from 'double _Complex' to unrelated 'union typedef double_union' [247] */ 1101 1.1 rillig double_union_ptr = (typeof(double_union_ptr))dcomplex_ptr; 1102 1.6 rillig /* expect+1: warning: pointer cast from 'long double _Complex' to unrelated 'union typedef double_union' [247] */ 1103 1.1 rillig double_union_ptr = (typeof(double_union_ptr))lcomplex_ptr; 1104 1.1 rillig double_union_ptr = (typeof(double_union_ptr))void_ptr; 1105 1.6 rillig /* expect+1: warning: pointer cast from 'struct typedef char_struct' to unrelated 'union typedef double_union' [247] */ 1106 1.1 rillig double_union_ptr = (typeof(double_union_ptr))char_struct_ptr; 1107 1.6 rillig /* expect+1: warning: pointer cast from 'struct typedef double_struct' to unrelated 'union typedef double_union' [247] */ 1108 1.1 rillig double_union_ptr = (typeof(double_union_ptr))double_struct_ptr; 1109 1.6 rillig /* expect+1: warning: pointer cast from 'union typedef char_union' to unrelated 'union typedef double_union' [247] */ 1110 1.1 rillig double_union_ptr = (typeof(double_union_ptr))char_union_ptr; 1111 1.1 rillig double_union_ptr = (typeof(double_union_ptr))double_union_ptr; 1112 1.6 rillig /* expect+1: warning: pointer cast from 'enum typedef int_enum' to unrelated 'union typedef double_union' [247] */ 1113 1.1 rillig double_union_ptr = (typeof(double_union_ptr))enum_ptr; 1114 1.1 rillig double_union_ptr = (typeof(double_union_ptr))double_array_ptr; 1115 1.1 rillig /* expect+1: warning: converting 'pointer to function(void) returning void' to 'pointer to union typedef double_union' is questionable [229] */ 1116 1.1 rillig double_union_ptr = (typeof(double_union_ptr))func_ptr; 1117 1.1 rillig 1118 1.6 rillig /* expect+1: warning: pointer cast from '_Bool' to unrelated 'enum typedef int_enum' [247] */ 1119 1.1 rillig enum_ptr = (typeof(enum_ptr))bool_ptr; 1120 1.1 rillig enum_ptr = (typeof(enum_ptr))char_ptr; 1121 1.6 rillig /* expect+1: warning: pointer cast from 'signed char' to unrelated 'enum typedef int_enum' [247] */ 1122 1.1 rillig enum_ptr = (typeof(enum_ptr))schar_ptr; 1123 1.1 rillig enum_ptr = (typeof(enum_ptr))uchar_ptr; 1124 1.6 rillig /* expect+1: warning: pointer cast from 'short' to unrelated 'enum typedef int_enum' [247] */ 1125 1.1 rillig enum_ptr = (typeof(enum_ptr))short_ptr; 1126 1.6 rillig /* expect+1: warning: pointer cast from 'unsigned short' to unrelated 'enum typedef int_enum' [247] */ 1127 1.1 rillig enum_ptr = (typeof(enum_ptr))ushort_ptr; 1128 1.1 rillig enum_ptr = (typeof(enum_ptr))int_ptr; 1129 1.1 rillig enum_ptr = (typeof(enum_ptr))uint_ptr; 1130 1.6 rillig /* expect+1: warning: pointer cast from 'long' to unrelated 'enum typedef int_enum' [247] */ 1131 1.1 rillig enum_ptr = (typeof(enum_ptr))long_ptr; 1132 1.6 rillig /* expect+1: warning: pointer cast from 'unsigned long' to unrelated 'enum typedef int_enum' [247] */ 1133 1.1 rillig enum_ptr = (typeof(enum_ptr))ulong_ptr; 1134 1.6 rillig /* expect+1: warning: pointer cast from 'long long' to unrelated 'enum typedef int_enum' [247] */ 1135 1.1 rillig enum_ptr = (typeof(enum_ptr))llong_ptr; 1136 1.6 rillig /* expect+1: warning: pointer cast from 'unsigned long long' to unrelated 'enum typedef int_enum' [247] */ 1137 1.1 rillig enum_ptr = (typeof(enum_ptr))ullong_ptr; 1138 1.6 rillig /* expect+1: warning: pointer cast from 'float' to unrelated 'enum typedef int_enum' [247] */ 1139 1.1 rillig enum_ptr = (typeof(enum_ptr))float_ptr; 1140 1.6 rillig /* expect+1: warning: pointer cast from 'double' to unrelated 'enum typedef int_enum' [247] */ 1141 1.1 rillig enum_ptr = (typeof(enum_ptr))double_ptr; 1142 1.6 rillig /* expect+1: warning: pointer cast from 'long double' to unrelated 'enum typedef int_enum' [247] */ 1143 1.1 rillig enum_ptr = (typeof(enum_ptr))ldouble_ptr; 1144 1.6 rillig /* expect+1: warning: pointer cast from 'float _Complex' to unrelated 'enum typedef int_enum' [247] */ 1145 1.1 rillig enum_ptr = (typeof(enum_ptr))fcomplex_ptr; 1146 1.6 rillig /* expect+1: warning: pointer cast from 'double _Complex' to unrelated 'enum typedef int_enum' [247] */ 1147 1.1 rillig enum_ptr = (typeof(enum_ptr))dcomplex_ptr; 1148 1.6 rillig /* expect+1: warning: pointer cast from 'long double _Complex' to unrelated 'enum typedef int_enum' [247] */ 1149 1.1 rillig enum_ptr = (typeof(enum_ptr))lcomplex_ptr; 1150 1.1 rillig enum_ptr = (typeof(enum_ptr))void_ptr; 1151 1.6 rillig /* expect+1: warning: pointer cast from 'struct typedef char_struct' to unrelated 'enum typedef int_enum' [247] */ 1152 1.1 rillig enum_ptr = (typeof(enum_ptr))char_struct_ptr; 1153 1.6 rillig /* expect+1: warning: pointer cast from 'struct typedef double_struct' to unrelated 'enum typedef int_enum' [247] */ 1154 1.1 rillig enum_ptr = (typeof(enum_ptr))double_struct_ptr; 1155 1.6 rillig /* expect+1: warning: pointer cast from 'union typedef char_union' to unrelated 'enum typedef int_enum' [247] */ 1156 1.1 rillig enum_ptr = (typeof(enum_ptr))char_union_ptr; 1157 1.6 rillig /* expect+1: warning: pointer cast from 'union typedef double_union' to unrelated 'enum typedef int_enum' [247] */ 1158 1.1 rillig enum_ptr = (typeof(enum_ptr))double_union_ptr; 1159 1.1 rillig enum_ptr = (typeof(enum_ptr))enum_ptr; 1160 1.6 rillig /* expect+1: warning: pointer cast from 'array[5] of double' to unrelated 'enum typedef int_enum' [247] */ 1161 1.1 rillig enum_ptr = (typeof(enum_ptr))double_array_ptr; 1162 1.1 rillig /* expect+1: warning: converting 'pointer to function(void) returning void' to 'pointer to enum typedef int_enum' is questionable [229] */ 1163 1.1 rillig enum_ptr = (typeof(enum_ptr))func_ptr; 1164 1.1 rillig 1165 1.6 rillig /* expect+1: warning: pointer cast from '_Bool' to unrelated 'array[5] of double' [247] */ 1166 1.1 rillig double_array_ptr = (typeof(double_array_ptr))bool_ptr; 1167 1.1 rillig double_array_ptr = (typeof(double_array_ptr))char_ptr; 1168 1.6 rillig /* expect+1: warning: pointer cast from 'signed char' to unrelated 'array[5] of double' [247] */ 1169 1.1 rillig double_array_ptr = (typeof(double_array_ptr))schar_ptr; 1170 1.1 rillig double_array_ptr = (typeof(double_array_ptr))uchar_ptr; 1171 1.6 rillig /* expect+1: warning: pointer cast from 'short' to unrelated 'array[5] of double' [247] */ 1172 1.1 rillig double_array_ptr = (typeof(double_array_ptr))short_ptr; 1173 1.6 rillig /* expect+1: warning: pointer cast from 'unsigned short' to unrelated 'array[5] of double' [247] */ 1174 1.1 rillig double_array_ptr = (typeof(double_array_ptr))ushort_ptr; 1175 1.6 rillig /* expect+1: warning: pointer cast from 'int' to unrelated 'array[5] of double' [247] */ 1176 1.1 rillig double_array_ptr = (typeof(double_array_ptr))int_ptr; 1177 1.6 rillig /* expect+1: warning: pointer cast from 'unsigned int' to unrelated 'array[5] of double' [247] */ 1178 1.1 rillig double_array_ptr = (typeof(double_array_ptr))uint_ptr; 1179 1.6 rillig /* expect+1: warning: pointer cast from 'long' to unrelated 'array[5] of double' [247] */ 1180 1.1 rillig double_array_ptr = (typeof(double_array_ptr))long_ptr; 1181 1.6 rillig /* expect+1: warning: pointer cast from 'unsigned long' to unrelated 'array[5] of double' [247] */ 1182 1.1 rillig double_array_ptr = (typeof(double_array_ptr))ulong_ptr; 1183 1.6 rillig /* expect+1: warning: pointer cast from 'long long' to unrelated 'array[5] of double' [247] */ 1184 1.1 rillig double_array_ptr = (typeof(double_array_ptr))llong_ptr; 1185 1.6 rillig /* expect+1: warning: pointer cast from 'unsigned long long' to unrelated 'array[5] of double' [247] */ 1186 1.1 rillig double_array_ptr = (typeof(double_array_ptr))ullong_ptr; 1187 1.6 rillig /* expect+1: warning: pointer cast from 'float' to unrelated 'array[5] of double' [247] */ 1188 1.1 rillig double_array_ptr = (typeof(double_array_ptr))float_ptr; 1189 1.1 rillig double_array_ptr = (typeof(double_array_ptr))double_ptr; 1190 1.6 rillig /* expect+1: warning: pointer cast from 'long double' to unrelated 'array[5] of double' [247] */ 1191 1.1 rillig double_array_ptr = (typeof(double_array_ptr))ldouble_ptr; 1192 1.6 rillig /* expect+1: warning: pointer cast from 'float _Complex' to unrelated 'array[5] of double' [247] */ 1193 1.1 rillig double_array_ptr = (typeof(double_array_ptr))fcomplex_ptr; 1194 1.6 rillig /* expect+1: warning: pointer cast from 'double _Complex' to unrelated 'array[5] of double' [247] */ 1195 1.1 rillig double_array_ptr = (typeof(double_array_ptr))dcomplex_ptr; 1196 1.6 rillig /* expect+1: warning: pointer cast from 'long double _Complex' to unrelated 'array[5] of double' [247] */ 1197 1.1 rillig double_array_ptr = (typeof(double_array_ptr))lcomplex_ptr; 1198 1.1 rillig double_array_ptr = (typeof(double_array_ptr))void_ptr; 1199 1.6 rillig /* expect+1: warning: pointer cast from 'struct typedef char_struct' to unrelated 'array[5] of double' [247] */ 1200 1.1 rillig double_array_ptr = (typeof(double_array_ptr))char_struct_ptr; 1201 1.6 rillig /* expect+1: warning: pointer cast from 'struct typedef double_struct' to unrelated 'array[5] of double' [247] */ 1202 1.1 rillig double_array_ptr = (typeof(double_array_ptr))double_struct_ptr; 1203 1.6 rillig /* expect+1: warning: pointer cast from 'union typedef char_union' to unrelated 'array[5] of double' [247] */ 1204 1.1 rillig double_array_ptr = (typeof(double_array_ptr))char_union_ptr; 1205 1.1 rillig double_array_ptr = (typeof(double_array_ptr))double_union_ptr; 1206 1.6 rillig /* expect+1: warning: pointer cast from 'enum typedef int_enum' to unrelated 'array[5] of double' [247] */ 1207 1.1 rillig double_array_ptr = (typeof(double_array_ptr))enum_ptr; 1208 1.1 rillig double_array_ptr = (typeof(double_array_ptr))double_array_ptr; 1209 1.1 rillig /* expect+1: warning: converting 'pointer to function(void) returning void' to 'pointer to array[5] of double' is questionable [229] */ 1210 1.1 rillig double_array_ptr = (typeof(double_array_ptr))func_ptr; 1211 1.1 rillig 1212 1.1 rillig /* expect+1: warning: converting 'pointer to _Bool' to 'pointer to function(void) returning void' is questionable [229] */ 1213 1.1 rillig func_ptr = (typeof(func_ptr))bool_ptr; 1214 1.1 rillig /* expect+1: warning: converting 'pointer to char' to 'pointer to function(void) returning void' is questionable [229] */ 1215 1.1 rillig func_ptr = (typeof(func_ptr))char_ptr; 1216 1.1 rillig /* expect+1: warning: converting 'pointer to signed char' to 'pointer to function(void) returning void' is questionable [229] */ 1217 1.1 rillig func_ptr = (typeof(func_ptr))schar_ptr; 1218 1.1 rillig /* expect+1: warning: converting 'pointer to unsigned char' to 'pointer to function(void) returning void' is questionable [229] */ 1219 1.1 rillig func_ptr = (typeof(func_ptr))uchar_ptr; 1220 1.1 rillig /* expect+1: warning: converting 'pointer to short' to 'pointer to function(void) returning void' is questionable [229] */ 1221 1.1 rillig func_ptr = (typeof(func_ptr))short_ptr; 1222 1.1 rillig /* expect+1: warning: converting 'pointer to unsigned short' to 'pointer to function(void) returning void' is questionable [229] */ 1223 1.1 rillig func_ptr = (typeof(func_ptr))ushort_ptr; 1224 1.1 rillig /* expect+1: warning: converting 'pointer to int' to 'pointer to function(void) returning void' is questionable [229] */ 1225 1.1 rillig func_ptr = (typeof(func_ptr))int_ptr; 1226 1.1 rillig /* expect+1: warning: converting 'pointer to unsigned int' to 'pointer to function(void) returning void' is questionable [229] */ 1227 1.1 rillig func_ptr = (typeof(func_ptr))uint_ptr; 1228 1.1 rillig /* expect+1: warning: converting 'pointer to long' to 'pointer to function(void) returning void' is questionable [229] */ 1229 1.1 rillig func_ptr = (typeof(func_ptr))long_ptr; 1230 1.1 rillig /* expect+1: warning: converting 'pointer to unsigned long' to 'pointer to function(void) returning void' is questionable [229] */ 1231 1.1 rillig func_ptr = (typeof(func_ptr))ulong_ptr; 1232 1.1 rillig /* expect+1: warning: converting 'pointer to long long' to 'pointer to function(void) returning void' is questionable [229] */ 1233 1.1 rillig func_ptr = (typeof(func_ptr))llong_ptr; 1234 1.1 rillig /* expect+1: warning: converting 'pointer to unsigned long long' to 'pointer to function(void) returning void' is questionable [229] */ 1235 1.1 rillig func_ptr = (typeof(func_ptr))ullong_ptr; 1236 1.1 rillig /* expect+1: warning: converting 'pointer to float' to 'pointer to function(void) returning void' is questionable [229] */ 1237 1.1 rillig func_ptr = (typeof(func_ptr))float_ptr; 1238 1.1 rillig /* expect+1: warning: converting 'pointer to double' to 'pointer to function(void) returning void' is questionable [229] */ 1239 1.1 rillig func_ptr = (typeof(func_ptr))double_ptr; 1240 1.1 rillig /* expect+1: warning: converting 'pointer to long double' to 'pointer to function(void) returning void' is questionable [229] */ 1241 1.1 rillig func_ptr = (typeof(func_ptr))ldouble_ptr; 1242 1.1 rillig /* expect+1: warning: converting 'pointer to float _Complex' to 'pointer to function(void) returning void' is questionable [229] */ 1243 1.1 rillig func_ptr = (typeof(func_ptr))fcomplex_ptr; 1244 1.1 rillig /* expect+1: warning: converting 'pointer to double _Complex' to 'pointer to function(void) returning void' is questionable [229] */ 1245 1.1 rillig func_ptr = (typeof(func_ptr))dcomplex_ptr; 1246 1.1 rillig /* expect+1: warning: converting 'pointer to long double _Complex' to 'pointer to function(void) returning void' is questionable [229] */ 1247 1.1 rillig func_ptr = (typeof(func_ptr))lcomplex_ptr; 1248 1.1 rillig func_ptr = (typeof(func_ptr))void_ptr; 1249 1.1 rillig /* expect+1: warning: converting 'pointer to struct typedef char_struct' to 'pointer to function(void) returning void' is questionable [229] */ 1250 1.1 rillig func_ptr = (typeof(func_ptr))char_struct_ptr; 1251 1.1 rillig /* expect+1: warning: converting 'pointer to struct typedef double_struct' to 'pointer to function(void) returning void' is questionable [229] */ 1252 1.1 rillig func_ptr = (typeof(func_ptr))double_struct_ptr; 1253 1.1 rillig /* expect+1: warning: converting 'pointer to union typedef char_union' to 'pointer to function(void) returning void' is questionable [229] */ 1254 1.1 rillig func_ptr = (typeof(func_ptr))char_union_ptr; 1255 1.1 rillig /* expect+1: warning: converting 'pointer to union typedef double_union' to 'pointer to function(void) returning void' is questionable [229] */ 1256 1.1 rillig func_ptr = (typeof(func_ptr))double_union_ptr; 1257 1.1 rillig /* expect+1: warning: converting 'pointer to enum typedef int_enum' to 'pointer to function(void) returning void' is questionable [229] */ 1258 1.1 rillig func_ptr = (typeof(func_ptr))enum_ptr; 1259 1.1 rillig /* expect+1: warning: converting 'pointer to array[5] of double' to 'pointer to function(void) returning void' is questionable [229] */ 1260 1.1 rillig func_ptr = (typeof(func_ptr))double_array_ptr; 1261 1.1 rillig func_ptr = (typeof(func_ptr))func_ptr; 1262 1.1 rillig } 1263