1 /* $NetBSD: msg_299.c,v 1.5 2023/07/07 19:45:22 rillig Exp $ */ 2 # 3 "msg_299.c" 3 4 /* Test for message: prototype does not match old-style definition, arg #%d [299] */ 5 6 /* lint1-flags: -w -X 351 */ 7 old_style(x)8old_style(x) 9 double x; 10 { 11 return x > 0.0; 12 } 13 14 /* expect+1: error: prototype does not match old-style definition, arg #1 [299] */ 15 void old_style(char ch); 16