msg_032.c revision 1.6
11.6Srillig/*	$NetBSD: msg_032.c,v 1.6 2022/10/01 09:42:40 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.6Srillig/* expect+5: error: old-style declaration; add 'int' [1] */
71.3Srilligadd(a, b, c)
81.5Srillig/* expect+3: warning: type of argument 'a' defaults to 'int' [32] */
91.5Srillig/* expect+2: warning: type of argument 'b' defaults to 'int' [32] */
101.5Srillig/* expect+1: warning: type of argument 'c' defaults to 'int' [32] */
111.3Srillig{
121.3Srillig	return a + b + c;
131.3Srillig}
14