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