1 /* $NetBSD: platform_lp64.c,v 1.2 2021/09/26 14:28:22 rillig Exp $ */ 2 # 3 "platform_lp64.c" 3 4 /* 5 * Test features that only apply to platforms that have 32-bit int and 64-bit 6 * long and pointer types. 7 */ 8 9 /* lint1-extra-flags: -c -h -a -p -b -r -z */ 10 /* lint1-only-if: lp64 */ 11 12 void to_size_t(typeof(sizeof(int))); 13 14 void 15 convert_unsigned_char_to_size_t(unsigned char uc) 16 { 17 /* no warning, unlike platform_int */ 18 to_size_t(uc); 19 } 20 21 /* expect+1: warning: static variable unused_variable unused [226] */ 22 static int unused_variable; 23