1 /* $NetBSD: msg_062.c,v 1.9 2025/01/03 03:14:47 rillig Exp $ */ 2 # 3 "msg_062.c" 3 4 // Test for message: function prototype parameters must have types [62] 5 6 /* lint1-extra-flags: -X 351 */ 7 8 /* expect+1: error: old-style declaration; add 'int' [1] */ 9 outer() { 10 /* expect+3: warning: function definition for 'inner' with identifier list is obsolete in C23 [384] */ 11 /* expect+2: warning: function prototype parameters must have types [62] */ 12 /* expect+1: warning: dubious static function 'inner' at block level [93] */ 13 static int inner(a); 14 } 15