Home | History | Annotate | Line # | Download | only in lint1
msg_164.c revision 1.2
      1 /*	$NetBSD: msg_164.c,v 1.2 2021/01/08 21:25:03 rillig Exp $	*/
      2 # 3 "msg_164.c"
      3 
      4 // Test for message: assignment of negative constant to unsigned type [164]
      5 
      6 void
      7 example(void)
      8 {
      9 	unsigned char uch = -3;
     10 
     11 	uch = -5;
     12 	uch += -7;
     13 	uch *= -1;
     14 }
     15