1 /* $NetBSD: msg_062.c,v 1.7 2023/07/07 19:45:22 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+2: warning: function prototype parameters must have types [62] */ 11 /* expect+1: warning: dubious static function 'inner' at block level [93] */ 12 static int inner(a); 13 } 14