Home | History | Annotate | Line # | Download | only in lint1
msg_114.c revision 1.3
      1 /*	$NetBSD: msg_114.c,v 1.3 2021/01/31 11:12:07 rillig Exp $	*/
      2 # 3 "msg_114.c"
      3 
      4 // Test for message: %soperand of '%s' must be lvalue [114]
      5 
      6 void
      7 example(int a)			/* expect: 231 */
      8 {
      9 	3++;			/* expect: 114 */
     10 	// FIXME: lint error: ../common/tyname.c, 190: tspec_name(0)
     11 	// "string"++;
     12 	(a + a)++;		/* expect: 114 */
     13 }
     14