msg_032.c revision 1.7
11.7Srillig/*	$NetBSD: msg_032.c,v 1.7 2023/07/07 19:45:22 rillig Exp $	*/
21.1Srillig# 3 "msg_032.c"
31.1Srillig
41.5Srillig// Test for message: type of argument '%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.5Srillig/* expect+3: warning: type of argument 'a' defaults to 'int' [32] */
111.5Srillig/* expect+2: warning: type of argument 'b' defaults to 'int' [32] */
121.5Srillig/* expect+1: warning: type of argument 'c' defaults to 'int' [32] */
131.3Srillig{
141.3Srillig	return a + b + c;
151.3Srillig}
16