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