Home | History | Annotate | Line # | Download | only in lint1
msg_160.c revision 1.2
      1 /*	$NetBSD: msg_160.c,v 1.2 2021/01/09 15:32:06 rillig Exp $	*/
      2 # 3 "msg_160.c"
      3 
      4 // Test for message: operator '==' found where '=' was expected [160]
      5 
      6 /* lint1-extra-flags: -h */
      7 
      8 _Bool
      9 both_equal_or_unequal(int a, int b, int c, int d)
     10 {
     11 	/* XXX: Why shouldn't this be legitimate? */
     12 	return (a == b) == (c == d);
     13 }
     14