Home | History | Annotate | Line # | Download | only in lint1
      1  1.9  rillig /*	$NetBSD: msg_062.c,v 1.9 2025/01/03 03:14:47 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.9  rillig 	/* expect+3: warning: function definition for 'inner' with identifier list is obsolete in C23 [384] */
     11  1.3  rillig 	/* expect+2: warning: function prototype parameters must have types [62] */
     12  1.5  rillig 	/* expect+1: warning: dubious static function 'inner' at block level [93] */
     13  1.3  rillig 	static int inner(a);
     14  1.3  rillig }
     15