Home | History | Annotate | Line # | Download | only in lint1
      1 /*	$NetBSD: msg_154.c,v 1.7 2025/04/12 15:49:50 rillig Exp $	*/
      2 # 3 "msg_154.c"
      3 
      4 // Test for message: invalid 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: invalid combination of integer 'int' and pointer 'pointer to int', arg #1 [154] */
     14 	sink_int(ptr);
     15 }
     16