Home | History | Annotate | Line # | Download | only in lint1
msg_062.c revision 1.7
      1  1.7  rillig /*	$NetBSD: msg_062.c,v 1.7 2023/07/07 19:45:22 rillig Exp $	*/
      2  1.1  rillig # 3 "msg_062.c"
      3  1.1  rillig 
      4  1.1  rillig // Test for message: function prototype parameters must have types [62]
      5  1.1  rillig 
      6  1.7  rillig /* lint1-extra-flags: -X 351 */
      7  1.7  rillig 
      8  1.6  rillig /* expect+1: error: old-style declaration; add 'int' [1] */
      9  1.3  rillig outer() {
     10  1.3  rillig 	/* expect+2: warning: function prototype parameters must have types [62] */
     11  1.5  rillig 	/* expect+1: warning: dubious static function 'inner' at block level [93] */
     12  1.3  rillig 	static int inner(a);
     13  1.3  rillig }
     14