Home | History | Annotate | Line # | Download | only in lint1
msg_107.c revision 1.5
      1 /*	$NetBSD: msg_107.c,v 1.5 2023/06/03 20:28:54 rillig Exp $	*/
      2 # 3 "msg_107.c"
      3 
      4 // Test for message: operands of '%s' have incompatible types '%s' and '%s' [107]
      5 
      6 /* ARGSUSED */
      7 void
      8 compare(double d, void *ptr)
      9 {
     10 	/* expect+1: error: operands of '==' have incompatible types 'double' and 'pointer to void' [107] */
     11 	return d == ptr;
     12 }
     13