1 /* $NetBSD: platform_schar.c,v 1.4 2023/02/22 22:30:40 rillig Exp $ */ 2 # 3 "platform_schar.c" 3 4 /* 5 * Test features that only apply to platforms where plain char has the same 6 * representation as signed char. 7 */ 8 9 /* lint1-extra-flags: -c -h -a -p -b -r -z */ 10 /* lint1-only-if: schar */ 11 12 /* CONSTCOND */ 13 /* expect+1: warning: nonportable character comparison '-128 < ?' [230] */ 14 typedef int is_signed[(char)'\200' < (char)'\177' ? 1 : -1]; 15