Home | History | Annotate | Line # | Download | only in lint1
platform_uchar.c revision 1.3
      1 /*	$NetBSD: platform_uchar.c,v 1.3 2023/02/22 22:12:35 rillig Exp $	*/
      2 # 3 "platform_uchar.c"
      3 
      4 /*
      5  * Test features that only apply to platforms where plain char has the same
      6  * representation as unsigned char.
      7  */
      8 
      9 /* lint1-extra-flags: -c -h -a -p -b -r -z */
     10 /* lint1-only-if: uchar */
     11 
     12 /* CONSTCOND */
     13 /* expect+1: warning: nonportable character comparison '< 128' [230] */
     14 typedef int is_unsigned[(char)'\177' < (char)'\200' ? 1 : -1];
     15