1 /* $NetBSD: msg_062.c,v 1.6 2022/10/01 09:42:40 rillig Exp $ */ 2 # 3 "msg_062.c" 3 4 // Test for message: function prototype parameters must have types [62] 5 6 /* expect+1: error: old-style declaration; add 'int' [1] */ 7 outer() { 8 /* expect+2: warning: function prototype parameters must have types [62] */ 9 /* expect+1: warning: dubious static function 'inner' at block level [93] */ 10 static int inner(a); 11 } 12