msg_032.c revision 1.8
11.8Srillig/*	$NetBSD: msg_032.c,v 1.8 2023/08/02 18:51:25 rillig Exp $	*/
21.1Srillig# 3 "msg_032.c"
31.1Srillig
41.8Srillig// Test for message: type of parameter '%s' defaults to 'int' [32]
51.1Srillig
61.7Srillig/* lint1-extra-flags: -X 351 */
71.7Srillig
81.6Srillig/* expect+5: error: old-style declaration; add 'int' [1] */
91.3Srilligadd(a, b, c)
101.8Srillig/* expect+3: warning: type of parameter 'a' defaults to 'int' [32] */
111.8Srillig/* expect+2: warning: type of parameter 'b' defaults to 'int' [32] */
121.8Srillig/* expect+1: warning: type of parameter 'c' defaults to 'int' [32] */
131.3Srillig{
141.3Srillig	return a + b + c;
151.3Srillig}
16