msg_032.c revision 1.5
11.5Srillig/*	$NetBSD: msg_032.c,v 1.5 2022/06/20 21:13:36 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.4Srillig/* 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