msg_299.c revision 1.4
11.4Srillig/* $NetBSD: msg_299.c,v 1.4 2022/10/01 09:42:40 rillig Exp $ */ 21.1Srillig# 3 "msg_299.c" 31.1Srillig 41.4Srillig/* Test for message: prototype does not match old-style definition, arg #%d [299] */ 51.1Srillig 61.3Srillig/* lint1-flags: -w */ 71.3Srillig 81.3Srilligold_style(x) 91.3Srillig double x; 101.3Srillig{ 111.3Srillig return x > 0.0; 121.3Srillig} 131.3Srillig 141.4Srillig/* expect+1: error: prototype does not match old-style definition, arg #1 [299] */ 151.3Srilligvoid old_style(char ch); 16