1 /* $NetBSD: platform_lp64.c,v 1.1 2021/09/26 03:17:59 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-only-if: lp64 */ 10 11 void to_size_t(typeof(sizeof(int))); 12 13 void 14 convert_unsigned_char_to_size_t(unsigned char uc) 15 { 16 /* no warning, unlike platform_int */ 17 to_size_t(uc); 18 } 19 20 /* expect+1: warning: static variable unused_variable unused [226] */ 21 static int unused_variable; 22