Home | History | Annotate | Line # | Download | only in lint1
msg_267.c revision 1.4
      1 /*	$NetBSD: msg_267.c,v 1.4 2022/06/16 21:24:41 rillig Exp $	*/
      2 # 3 "msg_267.c"
      3 
      4 // Test for message: shift equal to size of object [267]
      5 
      6 int
      7 shr32(unsigned int x)
      8 {
      9 	/* expect+1: warning: shift equal to size of object [267] */
     10 	return x >> 32;
     11 }
     12 
     13 int
     14 shl32(unsigned int x)
     15 {
     16 	/* expect+1: warning: shift equal to size of object [267] */
     17 	return x << 32;
     18 }
     19