Home | History | Annotate | Line # | Download | only in lint1
msg_154.c revision 1.6
      1 /*	$NetBSD: msg_154.c,v 1.6 2023/03/28 14:44:35 rillig Exp $	*/
      2 # 3 "msg_154.c"
      3 
      4 // Test for message: illegal combination of %s '%s' and %s '%s', arg #%d [154]
      5 
      6 /* lint1-extra-flags: -X 351 */
      7 
      8 void sink_int(int);
      9 
     10 void
     11 example(int *ptr)
     12 {
     13 	/* expect+1: warning: illegal combination of integer 'int' and pointer 'pointer to int', arg #1 [154] */
     14 	sink_int(ptr);
     15 }
     16