msg_032.c revision 1.4
11.4Srillig/* $NetBSD: msg_032.c,v 1.4 2022/04/24 20:08:23 rillig Exp $ */ 21.1Srillig# 3 "msg_032.c" 31.1Srillig 41.1Srillig// Test for message: argument type defaults to 'int': %s [32] 51.1Srillig 61.4Srillig/* expect+5: error: old style declaration; add 'int' [1] */ 71.3Srilligadd(a, b, c) 81.3Srillig/* expect+3: warning: argument type defaults to 'int': a [32] */ 91.3Srillig/* expect+2: warning: argument type defaults to 'int': b [32] */ 101.3Srillig/* expect+1: warning: argument type defaults to 'int': c [32] */ 111.3Srillig{ 121.3Srillig return a + b + c; 131.3Srillig} 14