Home | History | Annotate | Line # | Download | only in lint1
msg_062.c revision 1.6
      1  1.6  rillig /*	$NetBSD: msg_062.c,v 1.6 2022/10/01 09:42:40 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.6  rillig /* expect+1: error: old-style declaration; add 'int' [1] */
      7  1.3  rillig outer() {
      8  1.3  rillig 	/* expect+2: warning: function prototype parameters must have types [62] */
      9  1.5  rillig 	/* expect+1: warning: dubious static function 'inner' at block level [93] */
     10  1.3  rillig 	static int inner(a);
     11  1.3  rillig }
     12