Home | History | Annotate | Line # | Download | only in lint1
msg_062.c revision 1.4
      1  1.4  rillig /*	$NetBSD: msg_062.c,v 1.4 2022/04/24 20:08:23 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.4  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.3  rillig 	/* expect+1: warning: dubious static function at block level: inner [93] */
     10  1.3  rillig 	static int inner(a);
     11  1.3  rillig }
     12