Home | History | Annotate | Line # | Download | only in lint1
msg_053.c revision 1.7
      1 /*	$NetBSD: msg_053.c,v 1.7 2023/07/07 19:45:22 rillig Exp $	*/
      2 # 3 "msg_053.c"
      3 
      4 // Test for message: declared argument '%s' is missing [53]
      5 
      6 /* lint1-extra-flags: -X 351 */
      7 
      8 /* expect+2: error: old-style declaration; add 'int' [1] */
      9 oldstyle(argument)
     10 	int argument;
     11 	/* expect+1: error: declared argument 'extra_argument' is missing [53] */
     12 	int extra_argument;
     13 {
     14 	return argument;
     15 }
     16